|
@@ -148,9 +148,7 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
// 2为家政管理员
|
|
// 2为家政管理员
|
|
if(res.data.type ===2 ||res.data.type ===5){
|
|
if(res.data.type ===2 ||res.data.type ===5){
|
|
- if (cacheManager.get('auth')) {
|
|
|
|
- cacheManager.clearAll()
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
cacheManager.set('auth', res.data)
|
|
cacheManager.set('auth', res.data)
|
|
store.setIsCanBack(false)
|
|
store.setIsCanBack(false)
|
|
// 页面跳转
|
|
// 页面跳转
|