diff --git a/pages/index/index.vue b/pages/index/index.vue index 57e3645..029dc6d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -76,7 +76,8 @@ export default { }, data() { return { - hasExecuted: uni.getStorageSync('hasExecutedGoToRealName') || false, + // hasExecuted: uni.getStorageSync('hasExecutedGoToRealName') || false, + hasExecuted: false, // 基础配置 isRealName: false, @@ -139,7 +140,7 @@ export default { if (token && !this.hasExecuted) { await this.goToRealName() this.hasExecuted = true - uni.setStorageSync('hasExecutedGoToRealName', true) + //uni.setStorageSync('hasExecutedGoToRealName', true) } }, async goToRealName() {