From 228dee5dbd41c2d1127a6a1a9ec8bc027498141b Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 22 Sep 2023 09:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 496b143..eb7ee36 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -351,7 +351,7 @@ // } // } // }; - if (this.historyTextList.length > 8) this.params = JSON.parse(JSON.stringify(this.historyTextList.splice(-8))); + if (this.historyTextList.length > 9) this.params = JSON.parse(JSON.stringify(this.historyTextList.splice(-9))); else this.params = JSON.parse(JSON.stringify(this.historyTextList)); console.log(this.params); this.isSurpass();