From 2a925e120b30fed5373e7fffcfd1b6ed0ec4f288 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Tue, 21 Jan 2025 16:45:39 +0800 Subject: [PATCH] =?UTF-8?q?story#6071=EF=BC=8C=E9=80=89=E6=8B=A9=E5=B0=8F?= =?UTF-8?q?=E4=BF=AE=E8=BD=A6=E4=B8=94=E5=8F=AA=E6=9C=89=E4=B8=80=E9=A1=B9?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=97=B6=E9=9C=80=E6=B8=85=E9=99=A4=E5=8E=9F?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E6=8B=96=E8=BD=A6=E6=9C=8D=E5=8A=A1=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/vehicleAdd.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index 3d0d3bb4..7ae7be58 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -525,7 +525,7 @@ export default { this.$toast('车辆类型不能为空') return } - if(this.selectedOption?.length==0 && this.selectedOption.includes(1)){//选择小修车时需清除原本的拖车服务类型 + if(this.selectedOption?.length==1 && this.selectedOption.includes(1)){//选择小修车时需清除原本的拖车服务类型 let data=this.oldSupplierServiceList.filter(item => item.name ==='拖车服务') this.serviceIds = this.serviceIds.filter(item => !data[0].children.some(obj => obj.id === item)); }