Skip to content

Commit d4e08de

Browse files
committed
fix error tips
1 parent 992d859 commit d4e08de

File tree

1 file changed

+1
-1
lines changed
  • web/packages/shared/common/service

1 file changed

+1
-1
lines changed

web/packages/shared/common/service/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ const action = function (url, data, option) {
419419

420420
} else {
421421
Notice.error({desc: msg, title: '错误提示', duration: 4});
422-
throw error;
423422
}
424423
}
425424
if (error.message === API_ERR_MSG || error.msg === API_ERR_MSG) {
@@ -436,6 +435,7 @@ const action = function (url, data, option) {
436435
setTimeout(() => {
437436
lastMsg = ''
438437
}, 4000)
438+
throw error;
439439
});
440440
};
441441

0 commit comments

Comments
 (0)