未实名,每次登录提醒
This commit is contained in:
parent
54004be875
commit
97d3528355
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user