【优化】顶栏模块坞layout布局改为动态获取

pull/210/head
俞宝山 2024-05-12 15:33:14 +08:00
parent 9cd56c69cf
commit 67c7f9db3a
1 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,6 @@
const store = globalStore()
const { moduleUnfoldOpen, topHeaderThemeColorOpen } = storeToRefs(store)
const moduleBackColor = ref(topHeaderThemeColorOpen)
const layout = ref()
const module = computed(() => {
return store.module
})
@ -126,9 +125,11 @@
setSelectedKeys()
})
}
const layout = computed(() => {
return store.layout
})
onMounted(() => {
setModuleBackColor()
layout.value = tool.data.get('SNOWY_LAYOUT')
})
//
const setModuleBackColor = () => {