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