From 58812b980176121cd71a1b268efe3bfc8a254422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Tue, 8 Oct 2024 18:37:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B010.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gasStation-uni/pagesMy/signIn/index.vue | 30 +++++++++++++------------ 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gasStation-uni/pagesMy/signIn/index.vue b/gasStation-uni/pagesMy/signIn/index.vue index 1157fa2df..7b8890c08 100644 --- a/gasStation-uni/pagesMy/signIn/index.vue +++ b/gasStation-uni/pagesMy/signIn/index.vue @@ -97,20 +97,22 @@ }, methods: { goSignIn() { - request({ - url: 'business/integral/integralSettings/signInFunction', - method: 'post', - data: { - storeId: uni.getStorageSync("storeId"), - chainStoreId: uni.getStorageSync("chainStoreId") - } - }).then((res) => { - if (res.code == 200) { - console.log(res, 108); - this.show = true - this.getList() - } - }) + if (this.isSignIn == true) { + request({ + url: 'business/integral/integralSettings/signInFunction', + method: 'post', + data: { + storeId: uni.getStorageSync("storeId"), + chainStoreId: uni.getStorageSync("chainStoreId") + } + }).then((res) => { + if (res.code == 200) { + console.log(res, 108); + this.show = true + this.getList() + } + }) + } }, // 判断是否签到 getIsSignIn() {