mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
合并im
This commit is contained in:
@@ -281,6 +281,19 @@ export function isLogin(val) {
|
||||
return storage.getUserInfo();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 跳转im
|
||||
*/
|
||||
export function talkIm(storeId){
|
||||
if(isLogin('auth')){
|
||||
uni.navigateTo({
|
||||
url: `/pages/tabbar/home/web-view?IM=${storeId}`,
|
||||
});
|
||||
}
|
||||
else{
|
||||
tipsToLogin()
|
||||
}
|
||||
}
|
||||
|
||||
export function tipsToLogin() {
|
||||
if (!isLogin("auth")) {
|
||||
|
||||
Reference in New Issue
Block a user