Commit 14d2d6e6 by member

修复分页数据问题

parent c2775894
......@@ -79,7 +79,7 @@ export default {
// 分类
getGiftList() {
this.axios
.get(`${this.baseUrl}/api-integral-mall/load-category?requestProject=${this.pname}`)
.get(`${this.baseUrl}/api-integral-mall/load-category?requestProject=gic-web`)
.then(res => {
const resData = res.data;
if (resData.errorCode === 0) {
......@@ -91,7 +91,7 @@ export default {
},
// 分页换页
handleChangePage(val) {
this.cardCurrentPage = val;
this.currentPage = val;
this.getData();
},
......@@ -102,7 +102,7 @@ export default {
// 分页数据 integralCost积分费用 cashCost现金费用 proName
getData() {
const params = {
requestProject: this.pname,
requestProject: 'gic-web',
currentPage: this.currentPage,
pageSize: this.pageSize,
category: this.giftVal,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment