no message

This commit is contained in:
1147192855@qq.com 2024-06-26 18:11:28 +08:00
parent eb1ba790f7
commit f3cc6e00a6
1 changed files with 0 additions and 3 deletions

View File

@ -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: