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