Ver Fonte

[modify]统一支付方式

zk há 1 ano atrás
pai
commit
5b77fd2c77
1 ficheiros alterados com 2 adições e 2 exclusões
  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: