Commit 366a6c48 authored by zengyilun's avatar zengyilun

修复收缩侧边栏

parent 16bcc222
......@@ -18,7 +18,7 @@
export default{
name: 'SiderBar',
conputed: {
computed: {
isCollapse () {
return this.$store.state.isCollapse
}
......
......@@ -22,7 +22,7 @@ const store = new Vuex.Store({
SET_GISOP_USER(state, payload) {
state.gisopUserInfo = payload
},
SET_Collapse(state, payload) {
SET_COLLAPSE(state, payload) {
state.isCollapse = payload
},
SET_SIDE_MENU(state, payload) {
......@@ -40,7 +40,7 @@ const store = new Vuex.Store({
commit('SET_GISOP_USER', payload)
},
setCollapse({ commit }, payload) {
commit('SET_Collapse', payload)
commit('SET_COLLAPSE', payload)
},
setSideMenu({ commit }, payload) {
commit('SET_SIDE_MENU', payload)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment