Browse Source

[modify]统一支付方式

zk 1 năm trước cách đây
mục cha
commit
5b77fd2c77
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lib/module/store/view.dart

+ 2 - 2
lib/module/store/view.dart

@@ -533,9 +533,9 @@ class StorePage extends BasePage<StoreController> {
 extension on PaymentWay {
   get _icon {
     switch (payMethod) {
-      case Constants.paymentMethodAlipay:
+      case PayMethod.alipay:
         return Assets.images.iconStoreAlipay.image(width: 20.w, height: 20.w);
-      case Constants.paymentMethodWechat:
+      case PayMethod.wechat:
         return Assets.images.iconStoreWechatPay
             .image(width: 20.w, height: 20.w);
       default: