fix: 产品页面完善,增加空白布局与布局切换

This commit is contained in:
Gsh
2025-06-26 00:35:13 +08:00
parent 695aaedfba
commit 0eb83fc930
9 changed files with 35 additions and 13 deletions

View File

@@ -32,9 +32,10 @@ export const useDesignStore = defineStore(
const layout = ref<LayoutType>(reLayout);
// 当前只有一个布局,暂时不将这个方法暴露出去
// const _setLayout = (layoutType: 'vertical') => {
// layout.value = layoutType;
// };
// const _setLayout = (layoutType: LayoutType) => {
const _setLayout = (layoutType: any) => {
layout.value = layoutType;
};
// 折叠状态
const collapseType = ref<CollapseType>(reCollapseType);
@@ -94,6 +95,7 @@ export const useDesignStore = defineStore(
isSafeAreaHover,
setSafeAreaHover,
hasActivatedHover,
_setLayout,
};
},
{