소스 검색

页面更新

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() {
         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 || ''))
         }