From 99c445914590a8cb09adb2219709dc14c4c5cd9e Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 26 Oct 2023 12:20:12 +0700 Subject: [PATCH] remove code --- .../components/6_BasicInformation/Channel/MainPage.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue b/src/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue index 5891812eb..84b7eecdd 100644 --- a/src/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue +++ b/src/modules/11_discipline/components/6_BasicInformation/Channel/MainPage.vue @@ -23,18 +23,12 @@ const resetFilter = () => { } }; const dataStore = useDisciplineChannelDataStore(); -const attrs = ref(useAttrs()); -const paging = ref(true); const pagination = ref({ // sortBy: "desc", descending: false, page: 1, rowsPerPage: 10, }); -const paginationLabel = (start: string, end: string, total: string) => { - if (paging.value == true) return " " + start + "-" + end + " ใน " + total; - else return start + "-" + end + " ใน " + total; -}; const clickAdd = () => { router.push(`/discipline/channel/add`); @@ -136,7 +130,6 @@ onMounted(() => { row-key="id" :filter="filterKeyword" :visible-columns="dataStore.visibleColumns" - :pagination-label="paginationLabel" v-model:pagination="pagination" >