未实名,每次登录提醒

This commit is contained in:
WindowBird 2025-09-15 11:50:41 +08:00
parent 54004be875
commit 97d3528355

View File

@ -76,7 +76,8 @@ export default {
}, },
data() { data() {
return { return {
hasExecuted: uni.getStorageSync('hasExecutedGoToRealName') || false, // hasExecuted: uni.getStorageSync('hasExecutedGoToRealName') || false,
hasExecuted: false,
// //
isRealName: false, isRealName: false,
@ -139,7 +140,7 @@ export default {
if (token && !this.hasExecuted) { if (token && !this.hasExecuted) {
await this.goToRealName() await this.goToRealName()
this.hasExecuted = true this.hasExecuted = true
uni.setStorageSync('hasExecutedGoToRealName', true) //uni.setStorageSync('hasExecutedGoToRealName', true)
} }
}, },
async goToRealName() { async goToRealName() {