|
|
|
@ -336,7 +336,16 @@ export default {
|
|
|
|
|
// 新建 |
|
|
|
|
newItem() { |
|
|
|
|
this.title = "新增报告"; |
|
|
|
|
this.$refs.myUpload.clearFiles() |
|
|
|
|
|
|
|
|
|
const mainImg = this.$refs.myUpload; |
|
|
|
|
if (mainImg && mainImg.length) { |
|
|
|
|
mainImg.forEach(item => { |
|
|
|
|
// item.uploadFiles.length = 0; |
|
|
|
|
item.clearFiles(); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// this.$refs.myUpload.clearFiles() |
|
|
|
|
this.editForm = {}; |
|
|
|
|
this.dialogReadOnly = false; |
|
|
|
|
this.dialogVisible = true; |
|
|
|
|