|
@@ -5,7 +5,7 @@ const common = {
|
|
|
|
|
|
state: {
|
|
|
isCollapse: false,
|
|
|
- isFullScren: false,
|
|
|
+ isFullScreen: false,
|
|
|
isShade: false,
|
|
|
screen: -1,
|
|
|
isLock: getStore({ name: 'isLock' }) || false,
|
|
@@ -14,7 +14,7 @@ const common = {
|
|
|
showCollapse: getStore({ name: 'showCollapse' }),
|
|
|
showSearch: getStore({ name: 'showSearch' }),
|
|
|
showLock: getStore({ name: 'showLock' }),
|
|
|
- showFullScren: getStore({ name: 'showFullScren' }),
|
|
|
+ showFullScreen: getStore({ name: 'showFullScreen' }),
|
|
|
showTheme: getStore({ name: 'showTheme' }),
|
|
|
showColor: getStore({ name: 'showColor' }),
|
|
|
showMenu: getStore({ name: 'showMenu' }),
|
|
@@ -31,66 +31,66 @@ const common = {
|
|
|
SET_COLLAPSE: (state) => {
|
|
|
state.isCollapse = !state.isCollapse
|
|
|
},
|
|
|
- SET_FULLSCREN: (state) => {
|
|
|
- state.isFullScren = !state.isFullScren
|
|
|
+ SET_FULLSCREEN: (state) => {
|
|
|
+ state.isFullScreen = !state.isFullScreen
|
|
|
},
|
|
|
- SET_SHOWCOLLAPSE: (state, active) => {
|
|
|
+ SET_SHOW_COLLAPSE: (state, active) => {
|
|
|
state.showCollapse = active
|
|
|
setStore({
|
|
|
name: 'showCollapse',
|
|
|
content: state.showCollapse
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWTAG: (state, active) => {
|
|
|
+ SET_SHOW_TAG: (state, active) => {
|
|
|
state.showTag = active
|
|
|
setStore({
|
|
|
name: 'showTag',
|
|
|
content: state.showTag
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWMENU: (state, active) => {
|
|
|
+ SET_SHOW_MENU: (state, active) => {
|
|
|
state.showMenu = active
|
|
|
setStore({
|
|
|
name: 'showMenu',
|
|
|
content: state.showMenu
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWLOCK: (state, active) => {
|
|
|
+ SET_SHOW_LOCK: (state, active) => {
|
|
|
state.showLock = active
|
|
|
setStore({
|
|
|
name: 'showLock',
|
|
|
content: state.showLock
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWSEARCH: (state, active) => {
|
|
|
+ SET_SHOW_SEARCH: (state, active) => {
|
|
|
state.showSearch = active
|
|
|
setStore({
|
|
|
name: 'showSearch',
|
|
|
content: state.showSearch
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWFULLSCREN: (state, active) => {
|
|
|
- state.showFullScren = active
|
|
|
+ SET_SHOW_FULL_SCREEN: (state, active) => {
|
|
|
+ state.showFullScreen = active
|
|
|
setStore({
|
|
|
- name: 'showFullScren',
|
|
|
- content: state.showFullScren
|
|
|
+ name: 'showFullScreen',
|
|
|
+ content: state.showFullScreen
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWDEBUG: (state, active) => {
|
|
|
+ SET_SHOW_DEBUG: (state, active) => {
|
|
|
state.showDebug = active
|
|
|
setStore({
|
|
|
name: 'showDebug',
|
|
|
content: state.showDebug
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWTHEME: (state, active) => {
|
|
|
+ SET_SHOW_THEME: (state, active) => {
|
|
|
state.showTheme = active
|
|
|
setStore({
|
|
|
name: 'showTheme',
|
|
|
content: state.showTheme
|
|
|
})
|
|
|
},
|
|
|
- SET_SHOWCOLOR: (state, active) => {
|
|
|
+ SET_SHOW_COLOR: (state, active) => {
|
|
|
state.showColor = active
|
|
|
setStore({
|
|
|
name: 'showColor',
|