From 3f0c2283aea872723aeb2418fb7422d233d46950 Mon Sep 17 00:00:00 2001 From: fmk Date: Mon, 8 Nov 2021 20:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/order/exchange_order_page.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/order/exchange_order_page.dart b/lib/order/exchange_order_page.dart index b14c326b..dd59f5b5 100644 --- a/lib/order/exchange_order_page.dart +++ b/lib/order/exchange_order_page.dart @@ -870,12 +870,12 @@ class _ExchangeOrderPage extends State { }); if (baseDate.isSuccess) { if(checkIndex == 3){ - if (!(await Min.isInitialize())) { - // 小程序的微信支付和app的充值支付使用同一个WXPayEntryActivity回调, - // 然而充值时小程序未初始化会导致回调内部代码调用getPackage空指针, - // 故而在此初始化一下 - await Min.initialize(); - } + // if (!(await Min.isInitialize())) { + // // 小程序的微信支付和app的充值支付使用同一个WXPayEntryActivity回调, + // // 然而充值时小程序未初始化会导致回调内部代码调用getPackage空指针, + // // 故而在此初始化一下 + // await Min.initialize(); + // } WxPay wxPay = WxPay.fromJson(baseDate.data); await registerWxApi( appId: wxPay.appId,