feat: 下拉刷新

This commit is contained in:
黄泽群
2026-07-15 15:37:09 +08:00
parent e5716b438c
commit 4a669ec670
@@ -140,7 +140,7 @@ export default {
searchList(params).then((res) => {
let curPageLen = res.data ? res.data.length : 0;
if (res.data) {
this.dataList = this.dataList.concat(res.data);
this.dataList = page.num === 1 ? res.data : this.dataList.concat(res.data);
}
console.log(this.dataList);
@@ -352,4 +352,4 @@ export default {
}
}
}
</style>
</style>