This commit is contained in:
chc
2023-01-09 18:53:29 +08:00
8 changed files with 180 additions and 82 deletions

View File

@@ -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")) {