no message
This commit is contained in:
parent
eb1ba790f7
commit
f3cc6e00a6
|
|
@ -136,9 +136,6 @@ class TheError extends Interceptor {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void onError(DioException error, ErrorInterceptorHandler handler) {
|
void onError(DioException error, ErrorInterceptorHandler handler) {
|
||||||
print('----------------');
|
|
||||||
print(error);
|
|
||||||
print('*************');
|
|
||||||
var message = '请求错误,请重试';
|
var message = '请求错误,请重试';
|
||||||
switch (error.type) {
|
switch (error.type) {
|
||||||
case DioExceptionType.connectionTimeout:
|
case DioExceptionType.connectionTimeout:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue