瀏覽代碼

解决报错

gangyj 3 年之前
父節點
當前提交
cc216eb785
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/exctab/ElementIdentification/index.vue

+ 4 - 1
src/views/exctab/ElementIdentification/index.vue

@@ -488,8 +488,11 @@ export default {
               val.checknd = false
             }
           })
+          this.addTableData = res.data
+        }else{
+          this.addTableData = []
         }
-        this.addTableData = res.data
+        
       }
     },
     async excelType () {//清表类型