提交
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import IMService from '@/static/imservice.js'
|
||||
import identifying from '@/components/logininput/identifying'
|
||||
import {
|
||||
mapMutations
|
||||
@@ -107,6 +108,8 @@
|
||||
let pages = getCurrentPages();
|
||||
let prePage = pages[pages.length - 2];
|
||||
this.temp_url = prePage.route;
|
||||
console.log(this.imService.lianjie)
|
||||
this.imService.disconnect()
|
||||
// console.log(this.temp_url);
|
||||
},
|
||||
// 切断正常返回
|
||||
@@ -181,6 +184,12 @@
|
||||
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)
|
||||
if (res.data.member.has_labels) {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/index'
|
||||
|
||||
Reference in New Issue
Block a user