前端分页工具

分页技巧

  
        

methods:{}

 methods: {
    // 分页切换效果
    gotoPage(page) {
      teacherApi.getTeacherFront(page, 8).then(response => {
        this.data = response.data.data
      })
    }
  }

你可能感兴趣的:(前端分页工具)