fix: devtools warning

This commit is contained in:
allen
2026-04-15 16:44:13 +08:00
parent 4a968d9379
commit c3aa63982f

View File

@@ -5,7 +5,7 @@ import type { FormLayout } from '@vben/common-ui';
import type { CollapsibleParamSchema } from '@vben-core/shadcn-ui';
import { ref } from 'vue';
import { h, ref } from 'vue';
import { Page } from '@vben/common-ui';
@@ -150,7 +150,8 @@ const [BaseForm, baseFormApi] = useVbenForm({
defaultValue: false,
},
{
component: 'CollapsibleParams',
// component:'CollapsibleParams',
component: h(VbenCollapsibleParams),
componentProps: {
params: paramsSchema,
// maxHeight: 200, //限制最大高度,展开后可滚动