|
|
@@ -228,7 +228,11 @@
|
|
|
cacheManager.set('auth', res.data)
|
|
|
store.setIsCanBack(false)
|
|
|
gotoPage();
|
|
|
- }else{
|
|
|
+ }else if(res.data.type ===6){
|
|
|
+ cacheManager.set('auth', res.data)
|
|
|
+ store.setIsCanBack(false)
|
|
|
+ gotoPage2();
|
|
|
+ }else{
|
|
|
toast('登录失败,您的身份有误,请联系管理员。')
|
|
|
}
|
|
|
}).catch(err => {
|
|
|
@@ -242,6 +246,11 @@
|
|
|
uni.navigateTo({
|
|
|
url: `/pages/client/ShouYe/shouye`
|
|
|
})
|
|
|
+ }
|
|
|
+ function gotoPage2(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pages/kehu/shouYe/shouye`
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
function getAllImg() {
|