From 217e93a3597777d076dfe841130e13c9b244c1eb Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 29 Apr 2022 13:43:43 +0800 Subject: [PATCH] 29415 --- src/apps/AppInfotainment/AppInfotainment.vue | 2 +- src/apps/AppInfotainment/newsList.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/AppInfotainment/AppInfotainment.vue b/src/apps/AppInfotainment/AppInfotainment.vue index c99403a0..c4628a6c 100644 --- a/src/apps/AppInfotainment/AppInfotainment.vue +++ b/src/apps/AppInfotainment/AppInfotainment.vue @@ -29,7 +29,7 @@ export default { current: 1, categoryType: '0', list: [], - parentName: '' + parentName: '', } }, onLoad(o) { diff --git a/src/apps/AppInfotainment/newsList.vue b/src/apps/AppInfotainment/newsList.vue index 328b340a..188f2c5f 100644 --- a/src/apps/AppInfotainment/newsList.vue +++ b/src/apps/AppInfotainment/newsList.vue @@ -3,7 +3,7 @@
- +
@@ -131,7 +131,7 @@ } }).then(res => { if (res.code === 0) { - this.newsList = this.current == 1 ? [...res.data.records] : [...this.newsList, ...res.data.records] + this.newsList = this.current == 1 ? res.data.records : [...this.newsList, ...res.data.records] } }) },