|
@@ -1,6 +1,7 @@
|
|
|
import frameworkApi from '@/api/framework'
|
|
|
import storage from '@/framework/utils/storage'
|
|
|
import axios from 'axios'
|
|
|
+import authutils from '../../utils/authutils'
|
|
|
|
|
|
const KEY_MENU_SELECTED = 'menu_selected'
|
|
|
const KEY_PROJECT_SELECTED = 'global_project_selected'
|
|
@@ -90,6 +91,7 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
state.userInfo = null
|
|
|
+ authutils.toLoginPage()
|
|
|
}
|
|
|
resolve(resp)
|
|
|
})
|