src/store/common.ts
@@ -3,6 +3,7 @@ const state = () => ({ projectId: null as string | null, dockSns: null as string | null, snList: [] as string[] }) export type RootStateType = ReturnType<typeof state> const mutations: MutationTree<RootStateType> = { @@ -12,6 +13,10 @@ SET_DOCK_SN (state, dockSns: string) { state.dockSns = dockSns }, SET_SN_LIST (state, snList: string[]) { state.snList = snList } } export default {