summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils/index.js b/src/utils/index.js
index af584f7..e9fef6c 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -2,7 +2,6 @@ import router from '@/router/index';
import { useSystemStore } from '@/store/index';
import { cloneDeep, get } from 'lodash';
import { useI18n } from 'vue-i18n';
-import axiosInstance from '@/axios/index.js';
import { administrator } from '@/utils/constants';
export * from './unit';
@@ -20,8 +19,6 @@ export const isDev = () => {
// 退出登录清除数据
export const logoutClear = () => {
localStorage.removeItem('asg-userInfo');
- const systemStore = useSystemStore();
- systemStore.menus = [];
router.push({ name: 'login' });
};