优化请求状态提示信息
This commit is contained in:
@@ -202,9 +202,9 @@
|
||||
isWallet : false,
|
||||
walletNum : 0
|
||||
};
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
if(uni.getStorageSync('isWalleNum') != '' && uni.getStorageSync('isWalleNum') === 1) this.isWallet = true
|
||||
// if(uni.getStorageSync('isWalleNum') != '' && uni.getStorageSync('isWalleNum') === 1) this.isWallet = true
|
||||
this.getInfo();
|
||||
},
|
||||
methods: {
|
||||
@@ -282,7 +282,7 @@
|
||||
// 退出登录
|
||||
logOut() {
|
||||
uni.removeStorageSync('isnew')
|
||||
uni.removeStorageSync('isWalleNum')
|
||||
// uni.removeStorageSync('isWalleNum')
|
||||
this.$store.commit('setToken', '');
|
||||
this.$Router.replaceAll({name: 'Auth'})
|
||||
},
|
||||
@@ -316,7 +316,7 @@
|
||||
this.isWallet = true
|
||||
this.walletNum = 0
|
||||
this.$refs.onTimeCount.pause();
|
||||
uni.setStorageSync('isWalleNum', 1)
|
||||
// uni.setStorageSync('isWalleNum', 1)
|
||||
}
|
||||
},
|
||||
// 复制助记词
|
||||
|
||||
Reference in New Issue
Block a user