Browse Source

[bug][币种长度判断]

zhangwei 3 years ago
parent
commit
6b9d976b49
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/view/iframe/buy-nft/buy/pay.vue

+ 2 - 2
src/view/iframe/buy-nft/buy/pay.vue

@@ -50,7 +50,7 @@
             <div class="buy1" @click="clickPlay" v-if="state.is_btn_grey == false">
                 <btn-loading :color="'while'" v-if="state.loading.show"></btn-loading>
                 <template
-                    v-else-if="(pay_info.home.sale_plan.price.length + pay_info.home.sale_plan.currencyCode.length) > 30">
+                    v-else-if="(pay_info.home.sale_plan.price.length + pay_info.home.sale_plan.currencyInfo.tokenSymbol.length) > 30">
                     <div class="left">Pay</div>
                     <div class="right">
                         <p>{{ pay_info.home.sale_plan.price }}</p>
@@ -67,7 +67,7 @@
             </div>
             <div class="buy1 grey" v-else>
                 <template
-                    v-if="(pay_info.home.sale_plan.price.length + pay_info.home.sale_plan.currencyCode.length) > 30">
+                    v-if="(pay_info.home.sale_plan.price.length + pay_info.home.sale_plan.currencyInfo.tokenSymbol.length) > 30">
                     <div class="left">Pay</div>
                     <div class="right">
                         <p>{{ pay_info.home.sale_plan.price }}</p>