feat(http):http 取消转圈
This commit is contained in:
1 parent
7716bba906
commit
682308d93c
1 file changed
+1
@@ -216,6 +216,7 @@ class HttpUtils {
|
|||||||
* Dio库error统一处理
|
* Dio库error统一处理
|
||||||
*/
|
*/
|
||||||
static void _formatError(DioException error) {
|
static void _formatError(DioException error) {
|
||||||
|
EasyLoading.dismiss();
|
||||||
switch (error.type) {
|
switch (error.type) {
|
||||||
case DioExceptionType.cancel:
|
case DioExceptionType.cancel:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user