|
@@ -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()
|
|
|
}
|
|
|
},
|