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