Explorar o código

fix: devtools warning

allen hai 2 meses
pai
achega
c3aa63982f
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      playground/src/views/examples/form/collapsible.vue

+ 3 - 2
playground/src/views/examples/form/collapsible.vue

@@ -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, //限制最大高度,展开后可滚动