update 嵌入其他系统隐藏菜单和用户信息(顶部)
This commit is contained in:
@@ -16,7 +16,8 @@ const getters = {
|
||||
enhanceJs: (state) => (code) => {
|
||||
state.enhance.enhanceJs[code] = Vue.ls.get(ENHANCE_PRE + code)
|
||||
return state.enhance.enhanceJs[code]
|
||||
}
|
||||
},
|
||||
isEmbedded: state => state.app.isEmbedded
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@ const app = {
|
||||
autoHideHeader: false,
|
||||
color: null,
|
||||
weak: false,
|
||||
multipage: true // 默认多页签模式
|
||||
multipage: true, // 默认多页签模式
|
||||
isEmbedded: false // 是否嵌入其他系统
|
||||
},
|
||||
mutations: {
|
||||
SET_SIDEBAR_TYPE: (state, type) => {
|
||||
@@ -78,6 +79,9 @@ const app = {
|
||||
SET_MULTI_PAGE (state, multipageFlag) {
|
||||
Vue.ls.set(DEFAULT_MULTI_PAGE, multipageFlag)
|
||||
state.multipage = multipageFlag
|
||||
},
|
||||
SET_IS_EMBEDDED (state, isEmbedded) {
|
||||
state.isEmbedded = isEmbedded
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user