어드민 리스트 화면 백엔드 중복 호출 문제 수정

This commit is contained in:
kubo8
2023-02-09 14:08:49 +09:00
parent b199bb7630
commit 5772a7ba18
24 changed files with 119 additions and 37 deletions

View File

@@ -174,7 +174,7 @@ export default {
totalItems: 0,
grid: {
url: '/api/v1/bo/custMgt/memberList',
pagePerRows: 20,
pagePerRows: 50,
pagination: true,
isCheckbox: false, // true:첫번째 컬럼 앞에 체크박스 생성 / false:체크박스 제거
initialRequest: false,
@@ -244,12 +244,16 @@ export default {
// store에 저장된 페이지 정보 및 검색 조건을 불러오기
let isKeep = false;
/*
if (getCondition) {
this.grid.pagePerRows = getCondition.perPage;
this.grid.params = getCondition.params;
page = getCondition.page;
isKeep = true;
}
*/
this.grid.pagePerRows = 50;
page = 1;
this.search(isKeep);
},
beforeRouteLeave(to, from, next) {