diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue index 0d9f9a2..412573b 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -143,7 +143,8 @@ export default { return } - this.tableList = this.tableList.concat(res.data.data); // 使用 concat 方法 将新数据追加到数组中 + // this.tableList = this.tableList.concat(res.data.data); // 使用 concat 方法 将新数据追加到数组中 + this.tableList.unshift(...res.data.data); // 将新数据插入到数组头部 console.log('列表',this.tableList) this.filteredData.total = res.data.total