feat: 🚀 hTML提示框
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user