Darkhorsedamon před 2 roky
rodič
revize
de9e665a82
1 změnil soubory, kde provedl 10 přidání a 2 odebrání
  1. 10 2
      store/index.js

+ 10 - 2
store/index.js

@@ -3,15 +3,17 @@
  * @Author: 欧阳承珺
  * @LastEditors: 欧阳承珺
  * @Date: 2022-10-25 17:19:19
- * @LastEditTime: 2022-10-26 17:16:34
+ * @LastEditTime: 2022-11-02 16:03:41
  */
 export const state = () => ({
   userInfo: {
     memberInfo: {},
     pricingList: [],
-    setPricingList: []
+    setPricingList: [],
   },
   token: '',
+  globalLoginVisiable: false,
+  globalInterfaceType: false
 })
 
 export const mutations = {
@@ -23,6 +25,12 @@ export const mutations = {
   },
   DEL_TOKEN(state,data) {
     state.token = data
+  },
+  OPEN_LOGIN(state, data) {
+    state.globalLoginVisiable = data
+  },
+  SET_INTERFACE(state, data) {
+    state.globalInterfaceType = data
   }
 }