From dee8f0c60ca128a6edba18c147adf0923547b1d2 Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Fri, 25 Nov 2022 13:32:34 +0800 Subject: [PATCH] zx --- src/views/MarketingComparison/mcChooseModel/index.vue | 2 +- src/views/ModelComparison/brandCompateHeader/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/MarketingComparison/mcChooseModel/index.vue b/src/views/MarketingComparison/mcChooseModel/index.vue index c222eff..464cbb6 100644 --- a/src/views/MarketingComparison/mcChooseModel/index.vue +++ b/src/views/MarketingComparison/mcChooseModel/index.vue @@ -225,7 +225,7 @@ export default { // 获取切换车型的数据 handlerBrand(arr) { let row = this.list[this.chooseIndex]; - row.brand = arr[0].brandname; + row.brand = arr[1].brandname; row.model = arr[1].name; row.isDel = true; }, diff --git a/src/views/ModelComparison/brandCompateHeader/index.vue b/src/views/ModelComparison/brandCompateHeader/index.vue index a016735..e81cac1 100644 --- a/src/views/ModelComparison/brandCompateHeader/index.vue +++ b/src/views/ModelComparison/brandCompateHeader/index.vue @@ -159,7 +159,7 @@ export default { let n = this.list.findIndex((ele) => ele.model === arr[1].name); if (n != -1) return; let row = this.list[this.chooseIndex]; - row.brand = arr[0].brandname; + row.brand = arr[1].brandname; row.model = arr[1].name; row.isDel = true; let filterArr = this.list.filter((ele) => {