|
|
@ -57,6 +57,10 @@ router.beforeEach((to, from, next) => { |
|
|
|
}else{ |
|
|
|
store.commit('SET_HOUSE_ID', null) |
|
|
|
} |
|
|
|
if(urlParams.type && !localStorage.getItem('token') ){ |
|
|
|
location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkxNzQ5MzUzNg==&scene=110#wechat_redirect' |
|
|
|
return |
|
|
|
} |
|
|
|
if (urlParams.appId) { |
|
|
|
if (localStorage.getItem('appId') && urlParams.appId !== localStorage.getItem('appId')) { |
|
|
|
localStorage.removeItem('token') |
|
|
|