포인트 정책 - 페이징 처리

This commit is contained in:
Yu Sung 2025-05-17 17:51:24 +09:00
parent d8e75f299b
commit d3f98ec9cb
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import Vue from 'vue';
async function getPointPolicyList(page) {
return Vue.axios.get("/admin/point-policies?page=" + page + "&page_size=20")
return Vue.axios.get("/admin/point-policies?page=" + (page - 1) + "&page_size=20")
}
async function createPointPolicyList(request) {

View File

@ -259,7 +259,7 @@ export default {
'USER_AUTHENTICATION': '본인인증',
'CONTENT_COMMENT': '콘텐츠 댓글',
'ORDER_CONTENT_COMMENT': '구매한 콘텐츠 댓글',
'LIVE_CONTINUOUS_LISTEN_30': 'LIVE_CONTINUOUS_LISTEN_30',
'LIVE_CONTINUOUS_LISTEN_30': '라이브 연속 청취 30분',
},
policy_type_list: [
@ -530,7 +530,7 @@ export default {
this.is_loading = true
try {
const res = await api.getPointPolicyList();
const res = await api.getPointPolicyList(this.page);
if (res.status === 200 && res.data.success === true) {
const data = res.data.data