From 28490be72355699cc04ddbacf5385fb8ede145f2 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 16 Sep 2025 21:40:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=93=E4=BA=A4=E9=80=9A=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E4=B8=BA=E6=97=A0=E6=88=96=E7=A9=BA=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E4=BA=A4=E9=80=9A=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages_subpack/pay/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages_subpack/pay/index.vue b/pages_subpack/pay/index.vue index b91e555..9cf5360 100644 --- a/pages_subpack/pay/index.vue +++ b/pages_subpack/pay/index.vue @@ -223,6 +223,12 @@ if(!seek) return + // 如果交通方式为"无"或空,则不计算交通费 + if (!seek.selectGo || seek.selectGo == '无' || seek.selectGo.trim() == '') { + this.fare = 0; + return; + } + // console.log(this.$store.state.data.configList); let configList = this.$store.state.data.configList