|
...
|
...
|
@@ -239,7 +239,7 @@ class DioUtil { |
|
|
|
|
|
|
|
return new BaseResp(_status, _code, _msg, _data, _responseData);
|
|
|
|
} catch (e) {
|
|
|
|
Loading.hideLoading(context);
|
|
|
|
// Loading is dismissed once by the outer DioException handler below.
|
|
|
|
throw new DioException(
|
|
|
|
requestOptions: response.requestOptions,
|
|
|
|
response: response,
|
|
...
|
...
|
@@ -248,7 +248,7 @@ class DioUtil { |
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Loading.hideLoading(context);
|
|
|
|
// Loading is dismissed once by the outer DioException handler below.
|
|
|
|
throw new DioException(
|
|
|
|
requestOptions: response.requestOptions,
|
|
|
|
response: response,
|
...
|
...
|
|