scorpio 2 years ago
parent
commit
0ab6c68236
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/home/component/params/params4.vue

+ 1 - 1
src/views/home/component/params/params4.vue

@@ -313,10 +313,10 @@ export default {
       window.open(routeUrl.href, '_blank')
     },
     initFileList(list) {
+      this.data = defaultData
       if (list && list.length === 0) {
         return
       }
-      this.data = defaultData
       this.data = this.data.map(sub => {
         const tmp = list.filter(ele => ele.type === sub.dispatchType)
         if (tmp && tmp.length > 0) {