|
@@ -1,14 +1,14 @@
|
|
|
import { createApp } from 'vue';
|
|
|
import App from './App';
|
|
|
-import router, { parseQuery, setupRouter } from './router/index';
|
|
|
+import router, { setupRouter } from './router/index';
|
|
|
import dayjs from 'dayjs';
|
|
|
import { setupNaive } from './plugins';
|
|
|
import { setupStore } from './store';
|
|
|
import 'dayjs/locale/zh-cn';
|
|
|
import './styles/index.less';
|
|
|
import './utils/rem';
|
|
|
-import { storage } from './utils/storage';
|
|
|
-import { ACCESS_TOKEN_ADMIN } from './store/mutation-types';
|
|
|
+// import { storage } from './utils/storage';
|
|
|
+// import { ACCESS_TOKEN_ADMIN } from './store/mutation-types';
|
|
|
import useErrorLog from './hooks/useErrorLog';
|
|
|
|
|
|
async function setupApp() {
|
|
@@ -30,7 +30,6 @@ async function setupApp() {
|
|
|
// sessionStorage.removeItem('authLoadNum');
|
|
|
// storage.remove(ACCESS_TOKEN_ADMIN);
|
|
|
// }
|
|
|
-
|
|
|
// app loading
|
|
|
// const appLoading = createApp(AppLoading);
|
|
|
// appLoading.mount('#appLoading');
|