@@ -76,7 +76,7 @@ export function createService() {
};
}
- if (response.errorMessage) {
+ if (response.code !== 0) {
throw new ResponseError({
...response,
errorMessage: response.errorMessage ?? "请求失败",