lilei 1 년 전
부모
커밋
344943146b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/appSetting/versionSettings/editModal.vue

+ 2 - 0
src/views/appSetting/versionSettings/editModal.vue

@@ -187,6 +187,7 @@ export default {
           this.form.downloadUrl = res.data.downloadUrl
           this.form.upgradeContent = res.data.upgradeContent
           this.form.attachment = res.data.attachment
+          this.$refs.attachment.setFileList(res.data.attachment)
         } else {
           this.$refs.ruleForm.resetFields()
         }
@@ -213,6 +214,7 @@ export default {
       if (!newValue) {
         this.$emit('close')
         this.form.attachment = ''
+        this.$refs.attachment.setFileList('')
         this.$refs.ruleForm.resetFields()
       }
     },