Merge branch 'main' into rj

rj
wangxiaoshuang 2026-07-14 17:54:32 +08:00
commit 767be63feb
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ service.interceptors.response.use(
if (res.IsSuccess) { if (res.IsSuccess) {
return Promise.resolve(res) return Promise.resolve(res)
} else if (res.IsSuccess === false) { } else if (res.IsSuccess === false) {
if (res.Code === -4) {
return Promise.resolve(res)
}
if (res.Code !== 5) { if (res.Code !== 5) {
MessageBox.confirm(res.ErrorMessage, { MessageBox.confirm(res.ErrorMessage, {
type: 'warning', type: 'warning',