feat: 网络层优化

This commit is contained in:
ZhuRui
2026-07-31 18:15:24 +08:00
parent 3b107e8d52
commit 3e94ce60ec
41 changed files with 900 additions and 87 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ const request = (
const data = await res.json();
if (data.code === 401) {
if (data.code == 401) {
handleUnauthorized(data.msg);
return Promise.reject(new Error(data.msg || 'Unauthorized'));
}