Merge branch 'fix' into alpha

This commit is contained in:
guozhigq
2023-09-17 20:07:48 +08:00
7 changed files with 57 additions and 41 deletions

View File

@ -46,7 +46,10 @@ class ApiInterceptor extends Interceptor {
void onError(DioException err, ErrorInterceptorHandler handler) async {
// 处理网络请求错误
// handler.next(err);
SmartDialog.showToast(await dioError(err));
SmartDialog.showToast(
await dioError(err),
displayType: SmartToastType.onlyRefresh,
);
super.onError(err, handler);
}