Browse Source

点单页加载中优化

dev
wurong 1 year ago
parent
commit
c2710fba94
  1. 3
      lib/store/store_order.dart

3
lib/store/store_order.dart

@ -102,7 +102,6 @@ class _StoreOrderPage extends State<StoreOrderPage>
Dio(), Dio(),
context: context, context: context,
token: shared.getString('token'), token: shared.getString('token'),
showLoading: true,
); );
apiService.minLogin(storeId).catchError((onError) { apiService.minLogin(storeId).catchError((onError) {
SmartDialog.showToast(AppUtils.dioErrorTypeToString(onError.type), SmartDialog.showToast(AppUtils.dioErrorTypeToString(onError.type),
@ -128,7 +127,6 @@ class _StoreOrderPage extends State<StoreOrderPage>
storeId: storeId, storeId: storeId,
); );
EasyLoading.dismiss();
queryMemberInfo(); queryMemberInfo();
@ -207,7 +205,6 @@ class _StoreOrderPage extends State<StoreOrderPage>
setState(() {}); setState(() {});
} }
} }
EasyLoading.dismiss();
} }
RefreshController refreshController; RefreshController refreshController;

Loading…
Cancel
Save