wangzhihui 4 лет назад
Родитель
Сommit
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 = "";
       term.value = "";
       if (res.data.status == 0) {
       if (res.data.status == 0) {
         tableData.value = res.data.result;
         tableData.value = res.data.result;
+      } else {
+        ElNotification({
+          type: "error",
+          title: res.data.msg,
+        });
       }
       }
     }
     }
     function changeVoyageType(s) {
     function changeVoyageType(s) {
+      term.value = "";
       currentPage.value = 1;
       currentPage.value = 1;
       currentbtn.value = s;
       currentbtn.value = s;
       status.value = s;
       status.value = s;