From ed58afaaa564c54d22a42593265addce08bd5850 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 16 七月 2019 12:09:26 +0800
Subject: [PATCH] format-code

---
 src/store/index.js |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/store/index.js b/src/store/index.js
index 8a25bbf..407084a 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -3,26 +3,26 @@
 
 Vue.use(Vuex);
 const state = { //鍏ㄥ眬鐘舵�佸��
-    loginType: false,
-    userId:'',
+  loginType: false,
+  userId: ''
 }
 
 const mutations = {
-    loginType: (state, val) => {
-        state.loginType = val;
-    },
-    userId:(state, val) => {
-        state.userId = val;
-    },
+  loginType: (state, val) => {
+    state.loginType = val
+  },
+  userId: (state, val) => {
+    state.userId = val
+  }
 }
 
 const getters = {
-    getLoginType: (state) => {
-        return state.loginType;
-    },
-    getUserId:(state) => {
-        return state.userId;
-    },
+  getLoginType: (state) => {
+    return state.loginType
+  },
+  getUserId: (state) => {
+    return state.userId
+  }
 }
 
 const actions = {
@@ -30,10 +30,10 @@
 }
 
 const store = new Vuex.Store({
-    state,
-    actions,
-    mutations,
-    getters,
+  state,
+  actions,
+  mutations,
+  getters
 })
 
-export default store;
\ No newline at end of file
+export default store
\ No newline at end of file

--
Gitblit v1.8.0