|
@@ -85,11 +85,11 @@
|
|
|
content: '您确定要退出登录吗?',
|
|
|
success(res) {
|
|
|
if (res.confirm) {
|
|
|
- logout({}).then(res => {
|
|
|
+ logout().then(res => {
|
|
|
+ console.log(res,'logout')
|
|
|
getApp().globalData.token = ''
|
|
|
_this.$u.vuex('vuex_token','')
|
|
|
// 关闭socket
|
|
|
- // _this.$store.commit("$closeWebsocket")
|
|
|
uni.reLaunch({
|
|
|
url: '/pages/login/login'
|
|
|
})
|