Conselho em JavaScript

pageChanged(page = 1) {
  this.Board.list({ page, stx: this.search.text }).then(data => {
   this.list = data.list;
   this.orderNo = data.orderNo;
   this.page = data.page;
   this.search.page = data.page.current;
   this.Session.search[this.boardId] = this.search;
  });
 }
Innocent Ibis