Merge branch 'main' into rj
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user