update 嵌入其他系统隐藏菜单和用户信息(顶部)

This commit is contained in:
赵霄
2023-09-28 14:48:39 +08:00
parent a4e939af05
commit 68857a8e65
7 changed files with 46 additions and 7 deletions
+5 -1
View File
@@ -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: {