Parcourir la source

新增 提示

wzg il y a 1 an
Parent
commit
a379a39425
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/views/cargoManage/cargoList.vue

+ 6 - 0
src/views/cargoManage/cargoList.vue

@@ -206,6 +206,12 @@ async function addCargo() {
         resetForm();
         getCargoList();
       } else {
+        ElNotification({
+          title: "失败",
+          duration: 1500,
+          message: res.data.msg,
+          type: "error",
+        });
         console.log(res);
       }
     }