chore: headerMenu 优化

This commit is contained in:
xiaojunnuo
2025-03-09 16:22:22 +08:00
parent e43dd03132
commit d1ab5f74a6
6 changed files with 23 additions and 6 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ function createService() {
return dataAxios.data;
default:
// 不是正确的 code
const errorMessage = dataAxios.msg;
const errorMessage = dataAxios.msg || dataAxios.message || "未知错误";
// @ts-ignore
if (response?.config?.onError) {
// @ts-ignore