1
xuxueyang
2024-09-19 1ad1737e00e5f6b4d1aa59747cbe36db3138fbd6
1
已修改1个文件
20 ■■■■ 文件已修改
pages/user/supplier-user.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)