退出登录,登录调整

This commit is contained in:
唐明明
2022-06-11 17:08:57 +08:00
parent ac0abecb52
commit 45e0350c90
112 changed files with 6 additions and 60063 deletions

View File

@@ -201,13 +201,9 @@
},
// 退出登录
logOut() {
uni.removeStorage({
key: 'isnew',
success: () =>{
this.$store.commit('setToken', '');
this.$Router.replaceAll({name: 'Auth'})
}
})
uni.removeStorageSync('isnew')
this.$store.commit('setToken', '');
this.$Router.replaceAll({name: 'Auth'})
},
// 复制
copy(data) {