浏览代码

页面更新

sr 4 年之前
父节点
当前提交
a3aefbe0a9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-ui/src/components/DynamicForms/index.vue

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

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