Explorar el Código

fix: devtools warning

allen hace 2 meses
padre
commit
c3aa63982f
Se han modificado 1 ficheros con 3 adiciones y 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, //限制最大高度,展开后可滚动