luobang 3 年之前
父節點
當前提交
91ec00084e
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2 5
      src/views/statisticalReport/components/Ship_dynamic_table.vue

+ 2 - 5
src/views/statisticalReport/components/Ship_dynamic_table.vue

@@ -157,11 +157,8 @@ export default {
         if (res.data.code == "200") {
         if (res.data.code == "200") {
           this.tableData = res.data.data;
           this.tableData = res.data.data;
           console.log("aaad" +res.data.data);
           console.log("aaad" +res.data.data);
-        } else {
-          this.$message({
-            type: "warning",
-            message: res.data.data,
-          });
+        } else if(res.data.data=="暂时没有船舶动态") { 
+            this.tableData = [];
         }
         }
       });
       });
     },
     },