fetchData(offset) {
offset = offset ? '?offset' +offset : '';
this.$http.get('/api/RoomApi/live/outdoor' + offset).then((response) => {
response = response.body;
if (response.error === 0) {
this.list = response.data;
if (this.page > 0) {
this.list.concat(response.data.slice(-2));
}
}
});
}
我将获取的数据添加在原来的数据后面,但是整个页面直接重绘了,我想要实现的是那种下拉加载效果,这种该怎么实现呢?不重绘掉整个页面