1
xuxueyang
2024-09-19 1ad1737e00e5f6b4d1aa59747cbe36db3138fbd6
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)