diff --git a/src/tools/apiTools.js b/src/tools/apiTools.js index 3695b420..891cf072 100644 --- a/src/tools/apiTools.js +++ b/src/tools/apiTools.js @@ -3,7 +3,7 @@ import { searchPendingOrderByHash, searchPendingOrderByKeys, } from "@/assets/api.js"; -import { Sweetalert } from "zent"; +import { Sweetalert, Notify } from "zent"; // === 公用接口函数 === /** @@ -47,6 +47,8 @@ const commonSearchOrder = (data, apiType = 3) => { res(1); } } else { + Notify.clear(); + Notify.error(searchRes.message); rej(searchRes); } });