Quellcode durchsuchen

fix: vxe table error

xingyu4j vor 2 Jahren
Ursprung
Commit
392b46c370

+ 1 - 1
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts

@@ -63,7 +63,7 @@ type CrudDescriptionsParams = {
 } & Omit<DescriptionsSchema, 'field'>
 } & Omit<DescriptionsSchema, 'field'>
 
 
 type CrudPrintParams = {
 type CrudPrintParams = {
-  // 是否显示表单
+  // 是否显示打印
   show?: boolean
   show?: boolean
 } & Omit<VxeTableDefines.ColumnInfo[], 'field'>
 } & Omit<VxeTableDefines.ColumnInfo[], 'field'>
 
 

+ 1 - 1
yudao-ui-admin-vue3/src/plugins/vxeTable/index.ts

@@ -56,7 +56,7 @@ watch(
       import('./theme/light.scss')
       import('./theme/light.scss')
     }
     }
   },
   },
-  { immediate: true }
+  { deep: true }
 )
 )
 // 全局默认参数
 // 全局默认参数
 VXETable.setup({
 VXETable.setup({