iview分页
<Page :total="total" show-total :page-size="size" :current="currentPage" @on-change="getCurrentPage" show-sizer :page-size-opts = [12,50,100,200,500] style="margin-top: 10px;" @on-page-size-change.
·
<Page :total="total" show-total :page-size="size" :current="currentPage" @on-change="getCurrentPage" show-sizer :page-size-opts = [12,50,100,200,500] style="margin-top: 10px;" @on-page-size-change="getCurrentSum"/>
currentPage: 1,
size: 12,
total: 0,
getCurrentPage(val) {
this.currentPage = val;
this.getSellDetail()
},
getCurrentSum(val){
this.size = val;
this.getSellDetail()
}
更多推荐
已为社区贡献1条内容
所有评论(0)