remove code
This commit is contained in:
parent
e365ed04bb
commit
99c4459145
1 changed files with 0 additions and 7 deletions
|
|
@ -23,18 +23,12 @@ const resetFilter = () => {
|
|||
}
|
||||
};
|
||||
const dataStore = useDisciplineChannelDataStore();
|
||||
const attrs = ref<any>(useAttrs());
|
||||
const paging = ref<boolean>(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"
|
||||
>
|
||||
<template v-slot:header="props">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue