diff --git a/pages/template/long-list/long-list-page.uvue b/pages/template/long-list/long-list-page.uvue index 19e531d484851f96199bdda74fa07ce095551dd1..5cc2fdb16ff27ca6d427327018fec060db701acf 100644 --- a/pages/template/long-list/long-list-page.uvue +++ b/pages/template/long-list/long-list-page.uvue @@ -114,9 +114,7 @@ return } - responseData.data.forEach((item) => { - this.dataList.push(item) - }) + this.dataList.push(...responseData.data) if (responseData.data.length == 0) { this.isEnded = true