From 1ad1737e00e5f6b4d1aa59747cbe36db3138fbd6 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 19 九月 2024 16:15:27 +0800
Subject: [PATCH] 1
---
pages/user/supplier-user.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index f47291c..330a7d5 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -534,16 +534,7 @@
onShow() {
this.cacheUserId = ''
this.getTj()
- // #ifdef PUB_CUSTOMER
- let that = this
- this.$http.request('get', '/api/customer/point/sign/sign/today', {}).then(res => {
- if (res.data) {
- that.signToday = true
- }
- })
- // #endif
- //判断有没有签到
},
onLoad(options) {
@@ -663,6 +654,9 @@
this.cacheUserId = this.currentInfo.id
let that = this
setTimeout(() => {
+
+
+
// #ifdef PUB_CUSTOMER
this.$http.request('get', '/api/customer/center/tj', {}).then(res => {
if (res.code === 0) {
@@ -681,7 +675,13 @@
console.log('tj_order', that.tj_order)
}
})
-
+ //判断有没有签到
+ let that = this
+ this.$http.request('get', '/api/customer/point/sign/sign/today', {}).then(res => {
+ if (res.data) {
+ that.signToday = true
+ }
+ })
// #endif
}, 200)
--
Gitblit v1.9.3