fix: 产品页面完善,增加空白布局与布局切换
This commit is contained in:
@@ -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,
|
||||
};
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user