mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
1.在我的界面增加我的消息链接到IM消息
1.在我的界面增加我的消息链接到IM消息 2.调整了一下我的界面菜单的排序 3.顶部点击用户进去的personMsg增加一个退出登录的按钮
This commit is contained in:
@@ -21,8 +21,24 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(params) {
|
||||
params.IM ? (this.src = `${configs.imWebSrc}?token=${storage.getAccessToken()}&id=${params.IM}`): (this.src = decodeURIComponent(params.src));
|
||||
console.log(this.src);
|
||||
// params.IM ? (this.src = `${configs.imWebSrc}?token=${storage.getAccessToken()}&id=${params.IM}`): (this.src = decodeURIComponent(params.src));
|
||||
if(params.IM)
|
||||
{
|
||||
if(params.IM==0)
|
||||
{
|
||||
this.src = `${configs.imWebSrc}?token=${storage.getAccessToken()}`;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.src = `${configs.imWebSrc}?token=${storage.getAccessToken()}&id=${params.IM}`;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.src = decodeURIComponent(params.src);
|
||||
console.log(this.src);
|
||||
}
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user