From 4b5d4bdc239e4166bbc42061874a407f15d82897 Mon Sep 17 00:00:00 2001
From: zx <604444282@qq.com>
Date: Fri, 3 Feb 2023 17:21:45 +0800
Subject: [PATCH] zx
---
src/store/state.js | 2 +-
src/views/MyBrand/warningInfo/index.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/store/state.js b/src/store/state.js
index 059d882..e5f969c 100644
--- a/src/store/state.js
+++ b/src/store/state.js
@@ -35,6 +35,6 @@ const state = {
carCircle: LS.get('carCircle') || 0, // 0全部 1车友圈
specialGuid: LS.get('specialGuid') || '', //专项分析
warningBrand: LS.get('warningBrand') ? JSON.parse(LS.get('warningBrand')) : {}, //预警主品牌
- warningSeries: LS.get('warningSeries') || '', //预警车型
+ warningSeries: LS.get('warningSeries') ? JSON.parse(LS.get('warningSeries')) : {}, //预警车型
}
export default state;
diff --git a/src/views/MyBrand/warningInfo/index.vue b/src/views/MyBrand/warningInfo/index.vue
index da5fe11..38a4270 100644
--- a/src/views/MyBrand/warningInfo/index.vue
+++ b/src/views/MyBrand/warningInfo/index.vue
@@ -57,12 +57,12 @@ export default {
let a = [
`${ele._source.title}`,
ele._source.carseries,
- ele._source.affections == 1?'初级危机':ele._source.affections == 2?'中级危机':'高级危机'
+ ele._source.crisis == 1?'初级危机':ele._source.crisis == 2?'中级危机':'高级危机'
];
let b = [
`${ele._source.title}`,
ele._source.carseries,
- ele._source.affections == 1?'初级危机':ele._source.affections == 2?'中级危机':'高级危机',
+ ele._source.crisis == 1?'初级危机':ele._source.crisis == 2?'中级危机':'高级危机',
ele._source.id
];
arr.push(a);