ソースを参照

优化 航次列表

wangzhihui 4 年 前
コミット
7b2747c5d0
1 ファイル変更6 行追加0 行削除
  1. 6 0
      src/views/voyage/voyageList.vue

+ 6 - 0
src/views/voyage/voyageList.vue

@@ -230,9 +230,15 @@ export default {
       term.value = "";
       if (res.data.status == 0) {
         tableData.value = res.data.result;
+      } else {
+        ElNotification({
+          type: "error",
+          title: res.data.msg,
+        });
       }
     }
     function changeVoyageType(s) {
+      term.value = "";
       currentPage.value = 1;
       currentbtn.value = s;
       status.value = s;