dev_2022-05-11
luoJunYong.123 3 years ago
parent 252220b5bc
commit c8ea99e47a
  1. 5
      src/pages/information/contentManage/contentList.vue

@ -96,11 +96,6 @@ export default {
this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => { this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => {
this.listData = res.articleList; this.listData = res.articleList;
this.totals = res.total; this.totals = res.total;
for(let i=0; i<9; i++) {
this.listData.push(this.listData[0])
}
if (!this.listData.length && this.totals) { if (!this.listData.length && this.totals) {
this.pageNo--; this.pageNo--;
this.getData(); this.getData();

Loading…
Cancel
Save