sr %!s(int64=4) %!d(string=hai) anos
pai
achega
a3aefbe0a9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ruoyi-ui/src/components/DynamicForms/index.vue

+ 1 - 1
ruoyi-ui/src/components/DynamicForms/index.vue

@@ -91,7 +91,7 @@
       },
       init() {
         if(this.formConfig.htmlType == 'checkbox' || this.formConfig.htmlType == 'imageUpload' || this.formConfig.htmlType == 'fileUpload'){
-          this.config =  this.formConfig.columnValue || []
+          this.config =  []
         }else{
           this.$set(this.config, this.formConfig.columnName,(this.formConfig.columnValue || ''))
         }