pref: 更新分页参数

This commit is contained in:
皓月归尘 2025-02-13 16:21:53 +08:00
parent 70d2fa91c6
commit 8643b57899
7 changed files with 14 additions and 7 deletions

View File

@ -33,7 +33,8 @@ export const useLogin = (tableRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
const columns: TableColumnList = [ const columns: TableColumnList = [
{ {

View File

@ -24,7 +24,8 @@ export function useOperation(tableRef: Ref) {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
const getOperationType = (type: number) => { const getOperationType = (type: number) => {

View File

@ -46,7 +46,8 @@ export const useConfig = (tableRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
/** /**

View File

@ -45,7 +45,8 @@ export const useI18n = (tableRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
/** /**
* *

View File

@ -46,7 +46,8 @@ export const useLocale = (tableRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
/** /**
* *

View File

@ -68,7 +68,8 @@ export const useRole = (treeRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
const curRow = ref(); const curRow = ref();
/** /**

View File

@ -81,7 +81,8 @@ export const useUser = (tableRef: Ref, treeRef: Ref) => {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
background: true background: true,
pageSizes: [10, 20, 30, 40, 50]
}); });
/** /**
* *