Browse Source

清除fileList

shaun-sheep 4 years ago
parent
commit
fb4460bda8
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/views/legendLibrary/addForm.vue
  2. 1 0
      src/views/legendLibrary/addLegend.vue

+ 1 - 1
src/views/legendLibrary/addForm.vue

@@ -230,7 +230,7 @@ export default {
             })
         },
         handleRemove(file, fileList) {
-            console.log(file, fileList, 'file')
+            // console.log(file, fileList, 'file')
         },
         getFile(file) {
             this.file = file.file

+ 1 - 0
src/views/legendLibrary/addLegend.vue

@@ -116,6 +116,7 @@ export default {
                 // InfoLocal: [], //工程信息化位置与设备分类
                 // InfoSystem: [] //工程信息化专业/系统
             }
+            this.$refs.add.fileList = []
         },
         mesg() {
             this.$emit('mesg')