Commit f291167262d9b63b4971ba946e0c7d81075c7189

Authored by tianwu
1 parent 87693115

优化弹窗

apps/web-payment/src/views/payment/index.vue
@@ -179,9 +179,9 @@ const handlepayBtnShowClick = async (pipeline: Pipeline) => { @@ -179,9 +179,9 @@ const handlepayBtnShowClick = async (pipeline: Pipeline) => {
179 if (channelName.includes('园区卡') || channelName.includes('卡支付')) { 179 if (channelName.includes('园区卡') || channelName.includes('卡支付')) {
180 // 如果还没有加载园区卡列表,先加载 180 // 如果还没有加载园区卡列表,先加载
181 if (cardList.value.length === 0) { 181 if (cardList.value.length === 0) {
  182 + showCardDialog.value = true;
182 await getListUserCards(); 183 await getListUserCards();
183 } 184 }
184 - showCardDialog.value = true;  
185 } else { 185 } else {
186 // 切换到其他支付方式时,清空已选择的园区卡 186 // 切换到其他支付方式时,清空已选择的园区卡
187 selectedCard.value = null; 187 selectedCard.value = null;