feat: 🚀 hTML提示框

This commit is contained in:
2025-08-08 14:35:05 +08:00
parent e6e37c13bd
commit e23037fb23
5 changed files with 32 additions and 3 deletions

View File

@@ -116,7 +116,6 @@ class RequestHttp {
location.href = usePathUrl();
return Promise.reject(data);
}
console.log("1232323");
let statusStr = data.status + "";
const STATUS_STRS = [
"600006",
@@ -130,6 +129,13 @@ class RequestHttp {
// "70003",
// "70001"
];
//单数70005
const STATUS_STRS1 = ["70005", "70004", "70003"];
if (statusStr.length > 3 && STATUS_STRS1.includes(statusStr)) {
console.log("走到了这里");
return data;
// return Promise.reject(data);
}
if (statusStr.length > 3 && !STATUS_STRS.includes(statusStr)) {
console.log("32121");
ElMessage.error(data.msg || data.message);