链接登录退出

This commit is contained in:
2020-08-18 15:08:42 +08:00
parent 43e09e977d
commit cb95d1ead1
6 changed files with 46 additions and 59 deletions

View File

@@ -184,12 +184,7 @@
me.loginIn(res.data.token); //存储一个字符传值
// 缓存用户的信息
uni.setStorageSync('user_info',res.data);
let im = this.imService
im.status = false
console.log(123)
im.lianjie = false
im = new IMService();
console.log(im.lianjie)
this.imService.disconnect()
if (res.data.member.has_labels) {
uni.switchTab({
url: '/pages/index/index'