Parcourir la source

Merge branch 'fork/xueyitt/main'

Jin Mao il y a 4 semaines
Parent
commit
c8c425538f
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      packages/effects/plugins/src/vxe-table/use-vxe-grid.vue

+ 3 - 3
packages/effects/plugins/src/vxe-table/use-vxe-grid.vue

@@ -251,9 +251,9 @@ const options = computed(() => {
   }
   if (mergedOptions.formConfig) {
     mergedOptions.formConfig.enabled = false;
-    if (tableData.value && tableData.value.length > 0) {
-      mergedOptions.data = tableData.value;
-    }
+  }
+  if (tableData.value && tableData.value.length > 0) {
+    mergedOptions.data = tableData.value;
   }
 
   // 注入已读行功能(rowClassName、rowStyle、columns 拦截)