yshop1.9.2,修复修复素材库无法分页的、退款、角色等问题明细可以登陆演示后台查看

This commit is contained in:
hupeng
2020-01-31 18:06:22 +08:00
parent 4ad08d6803
commit 4df1262fe5
4 changed files with 64 additions and 42 deletions

View File

@ -114,6 +114,7 @@
</el-row>
<el-pagination
@size-change="sizeChange"
@current-change="pageChange"
:current-page.sync="page.currentPage"
:page-sizes="[12, 24]"
:page-size="page.pageSize"
@ -326,7 +327,7 @@
getPage(page, params) {
this.tableLoading = true
getPage(Object.assign({
current: page.currentPage,
page: page.currentPage - 1,
size: page.pageSize,
descs: this.page.descs,
ascs: this.page.ascs,
@ -344,10 +345,17 @@
})
},
sizeChange(val) {
console.log(val)
this.page.currentPage = 1
this.page.pageSize = val
this.getPage(this.page)
},
pageChange(val) {
console.log(val)
this.page.currentPage = val
//this.page.pageSize = val
this.getPage(this.page)
},
materialRename(item){
let that = this
this.$prompt('请输入素材名', '提示', {