From 39a59f4b31181904497ecc1db26d1f0183b81d77 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 04 十一月 2025 14:54:40 +0800
Subject: [PATCH] 字符串转换回数字进行比较,toFixed()方法返回字符串类型
---
pages/sys/user/index.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/pages/sys/user/index.vue b/pages/sys/user/index.vue
index 8400653..6d2d23f 100644
--- a/pages/sys/user/index.vue
+++ b/pages/sys/user/index.vue
@@ -56,7 +56,13 @@
url: "/pages/sys/login/index",
});
}, 500);
- });
+ })
+ .catch((err) => {
+ this.$u.api.workReporting
+ .getWorkshopOrder({})
+ .then((res) => {
+ });
+ })
},
navTo(url) {
// uni.navigateTo({
@@ -69,7 +75,7 @@
<style lang="scss" scoped>
.my {
- height: calc(100vh - 100rpx);
+ height: 100%;
background: linear-gradient(to bottom, #E5F0FF, #F6F9FF);
.my-head {
--
Gitblit v1.9.3