Authored by ccbikai

资讯首页数据优化

... ... @@ -103,8 +103,10 @@
if (result.code === 200) {
if (this.editorialList.length > 0 && result.data.list.length > 0) {
this.$set('editorialList', this.editorialList.concat(result.data.list));
} else {
} else if (result.data.list.length > 0) {
this.editorialList = result.data.list;
} else {
this.scrollDisabled = true;
}
} else {
this.scrollDisabled = true;
... ...