Jelajahi Sumber

修改导卡隐藏进度条

774078984@qq.com 3 bulan lalu
induk
melakukan
d5fd05b4fb
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      src/views/order/BuyCard/detaile.vue

+ 3 - 1
src/views/order/BuyCard/detaile.vue

@@ -49,9 +49,11 @@
                 <div class="detail-item">
                     <div class="item-label">{{ $t('order.CardNum') }}</div>
                     <div class="item-content">{{ dataDetail.length }}
-                        <a-button type="primary" :disabled="show" @click="showCard = true" style="margin-left:10px;"
+                        <template v-if="!show">
+                            <a-button type="primary"  @click="showCard = true" style="margin-left:10px;"
                             v-if="userType == 1 && FormDataList.moderationStatus == 2">{{
                                 $t('order.AllocationCardNumber') }}</a-button>
+                        </template>
                     </div>
                 </div>
             </div>