panhui 6 年 前
コミット
ca62a2db04
1 ファイル変更2 行追加2 行削除
  1. 2 2
      lib/pages/ShoppingMall.dart

+ 2 - 2
lib/pages/ShoppingMall.dart

@@ -207,8 +207,8 @@ class RechargeState extends State<Recharge> {
 
             Result res = await HttpManager.get('systemVariable/get', data: {'name': "iosPayHide"});
 
-            if (res.success && res.data != null && res.data == true && Platform.isIOS) {
-              MyDialog.showDialog(context, 'ios充值暂未开');
+            if (res.success && res.data != null && res.data == 'true' && Platform.isIOS) {
+              MyDialog.showDialog(context, 'ios充值暂未开');
             } else {
               Navigator.push(context, CupertinoPageRoute(builder: (context) => ChoosePay(widget.type, chooseProduct)));
             }