feat: 111

This commit is contained in:
fuenmao
2025-09-29 14:26:13 +08:00
parent 39f70340a0
commit 0e34840773
32 changed files with 2051 additions and 1328 deletions
+3 -1
View File
@@ -134,10 +134,12 @@ export default class RequestHttp {
this.apiNameArray.forEach(apiName => {
let responseApiArray = responseUrl.split("/"); //分割
let method = responseApiArray[responseApiArray.length - 1]; //取最后一个
console.log("method=", method);
console.log("noMessageApiNameArray=", this.noMessageApiNameArray);
let result = this.noMessageApiNameArray.includes(method); //判断是否在不提示的数组中
if (!result && responseUrl.includes(apiName)) {
//如果不在不提示的数组中并且请求地址包含指定的方法
ElMessage.success(data.msg);
// ElMessage.success(data.msg);
}
});
}