退出登录,登录调整
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user