修复 msg 错误提示

pull/1/MERGE
YunaiV 2023-09-11 16:30:12 +08:00
parent b34a1ec397
commit 1e01a404ba
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ function baseRequest(url, method, data, {
toLogin();
reject(res.data);
} else
reject(res.data.message || '系统错误');
reject(res.data.msg || res.data.message || '系统错误');
},
fail: (msg) => {
reject('请求失败');