feat: 添加错误弹窗
This commit is contained in:
parent
ed0d712240
commit
27272c8992
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue