From 087510aa88b0a6b6b5c648907e9dd52394621d47 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期二, 07 五月 2024 10:57:39 +0800 Subject: [PATCH] 代码更新 --- src/store/index.ts | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/store/index.ts b/src/store/index.ts index 9adf9ef..f6f7234 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -2,9 +2,23 @@ export default createStore({ state: { + // 鏂规棰勬紨鍒囨崲 setAnimation: null, + // 楠岃瘉鐮� + loginCode: null, + // 鍥惧眰绠$悊 + layerFlag: false, + // 榧犳爣鍙抽敭鐐瑰嚮鑿滃崟 + rightMeuFlag: false, + rightMenuIndex: null, + rightCoodinate: null, }, - mutations: {}, + mutations: { + //楠岃瘉鐮佸埛鏂� + setLoginCode(state, num) { + state.loginCode = num; + }, + }, actions: {}, modules: {}, }); -- Gitblit v1.9.3