From 2c2bc8614c8ea0ce386369eb4924da1e6aa052d1 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Wed, 27 Sep 2023 09:35:57 +0800
Subject: [PATCH] 添加环境配置区分

---
 src/store/common.ts |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/store/common.ts b/src/store/common.ts
index a6c09b2..b886078 100644
--- a/src/store/common.ts
+++ b/src/store/common.ts
@@ -1,13 +1,27 @@
 import { MutationTree } from 'vuex'
 
 const state = () => ({
-  projectId: null as string | null
+  projectId: null as string | null,
+  dockSns: null as string | null,
+  snList: [] as string[],
+  projectName: '' as string
 })
 export type RootStateType = ReturnType<typeof state>
 const mutations: MutationTree<RootStateType> = {
   SET_PROJECT_ID (state, projectId: string) {
     state.projectId = projectId
   },
+
+  SET_DOCK_SN (state, dockSns: string) {
+    state.dockSns = dockSns
+  },
+
+  SET_SN_LIST (state, snList: string[]) {
+    state.snList = snList
+  },
+  SET_PROJECT_NAME (state, projectName: string) {
+    state.projectName = projectName
+  }
 }
 export default {
   state,

--
Gitblit v1.9.3