Browse Source

fix: 表格传参类型兼容

johnsen 10 tháng trước cách đây
mục cha
commit
b629855fb9

+ 1 - 1
src/business/platform/data/form/dialog.vue

@@ -63,7 +63,7 @@ export default {
     },
     params: Object,
     addDataCont: { // 表单参数
-      type: Object
+      type: [Object, Array]
     }
   },
   data() {

+ 1 - 1
src/business/platform/form/formrender/formrender.vue

@@ -70,7 +70,7 @@ export default {
       type: Object
     },
     addDataCont: { // 表单参数
-      type: Object
+      type: [Object, Array]
     },
     /**
      * @description 工具栏