From 441df8843ebf37bd2eea5baee67dd590b06aa09d Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Fri, 15 Sep 2023 09:57:36 +0800
Subject: [PATCH] 修复token不在本地登录页一闪的情况
---
src/store/index.ts | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/store/index.ts b/src/store/index.ts
index 2d7016d..96f55bb 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -5,10 +5,8 @@
import { getLayers } from '/@/api/layer'
import { LayerType } from '/@/types/mapLayer'
import { WaylineFile } from '/@/types/wayline'
-import getter from './getters'
import { DevicesCmdExecuteInfo } from '/@/types/device-cmd'
import map from './map'
-import common from "/@/store/common";
const initStateFunc = () => ({
Layers: [
@@ -245,9 +243,7 @@
mutations,
actions,
modules: {
- getter,
- map,
- common
+ map
},
}
--
Gitblit v1.9.3