소스 검색

修复上传附件组件允许文件类型配置丢失bug

zhonghuizhen 1 년 전
부모
커밋
90a7ac5c4e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/business/platform/form/formbuilder/right-aside/editors/editor-field-attachment.vue

+ 1 - 1
src/business/platform/form/formbuilder/right-aside/editors/editor-field-attachment.vue

@@ -89,7 +89,7 @@ export default {
       fileTypeOptions,
       fileStoreOptions,
       uploadTypeOptions,
-      media: ''
+      media: this.fieldItem.field_options.media
     }
   },
   computed: {