@@ -66,6 +66,13 @@ export function _request({
data: null,
},
]);
+ } else if (code === 500) {
+ // 自定义错误
+ showErrorMessgage({
+ isShowError,
+ error: result.message,
+ });
+ resolve([result, null]);
} else {
showErrorMessgage({
isShowError,