From ac5c282eb3bebf7ae10d46b0a38a0e4a96a21ac5 Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Tue, 22 Jul 2025 17:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=AC=BE=E6=96=B9=E5=BC=8F=E8=A7=A3?= =?UTF-8?q?=E7=BB=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/site/addSiteStep/step2.vue | 38 ++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/src/components/site/addSiteStep/step2.vue b/src/components/site/addSiteStep/step2.vue index d4eea0e..af0e356 100644 --- a/src/components/site/addSiteStep/step2.vue +++ b/src/components/site/addSiteStep/step2.vue @@ -499,37 +499,49 @@ export default { }) }, changeSelectWeixin(item) { + if(this.bindWxpayId === item.payid){ + this.bindWxpayId = 0 + this.selectWxpay = null + return true + } this.bindWxpayId = item.payid; this.selectWxpay = item; - console.log(this.bindWxpayId, 'bindWxpayId'); - console.log(this.selectWxpay, 'selectWxpay'); - - this.selectedItem = { ...item }; - console.log(this.selectedItem, 'this.selectedItem===='); }, changeSelectAlipay(item) { + if(this.bindAlipayId === item.payid){ + this.bindAlipayId = 0 + this.selectAlipay = null + return true + } this.bindAlipayId = item.payid; this.selectAlipay = item; - - this.selectedItem = { ...item }; }, changeSelectTaobao(item) { + if(this.bindTaobaoId === item.payid){ + this.bindTaobaoId = 0 + this.selectTaobao = null + return true + } this.bindTaobaoId = item.payid; this.selectTaobao = item; - - this.selectedItem = { ...item }; }, changeSelectJindong(item) { + if(this.bindJdId === item.payid){ + this.bindJdId = 0 + this.selectJd = null + return true + } this.bindJdId = item.payid; this.selectJd = item; - - this.selectedItem = { ...item }; }, changeSelectPdd(item) { + if(this.bindPddId === item.payid){ + this.bindPddId = 0 + this.selectPdd = null + return true + } this.bindPddId = item.payid; this.selectPdd = item; - - this.selectedItem = { ...item }; }, goBindPay(type) { this.addPayType = type;