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);