summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorzyh <[email protected]>2024-11-28 15:40:38 +0800
committerzyh <[email protected]>2024-11-28 15:40:38 +0800
commita7e1bf63d1d2a4c5bfc16d15d3f94463d4befe09 (patch)
tree1a41a6a1ccfd940eee6a9b977a5155398f80b581 /src/utils
parent2603ddaccb7508fb9aa79191536a94d4bbfa45ec (diff)
fix: 删除无用代码dev-1.1
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' });
};