Explorar o código

fix:充值页面 充值金额与快捷充值交互判断条件修改

kele %!s(int64=2) %!d(string=hai) anos
pai
achega
470d927816
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/pay/recharge.vue

+ 1 - 1
pages/pay/recharge.vue

@@ -35,7 +35,7 @@
             class="ss-reset-button face-value-btn"
             v-for="item in state.faceValueList"
             :key="item.money"
-            :class="[{ 'btn-active': state.recharge_money === item.money }]"
+            :class="[{ 'btn-active': state.recharge_money == parseFloat(item.money) }]"
             @tap="onCard(item.money)"
           >
             <text class="face-value-title">{{ item.money }}</text>