Explorar o código

fix: 表格传参类型兼容

johnsen hai 10 meses
pai
achega
b629855fb9

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

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

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

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