feat(projects): add table showTotal options

This commit is contained in:
paynezhuang
2024-04-25 22:46:21 +08:00
parent ec5b1c3f84
commit 3e61eab498
7 changed files with 28 additions and 4 deletions

View File

@ -605,6 +605,9 @@ declare namespace App {
pin: string;
unpin: string;
};
datatable: {
itemCount: string;
};
};
type GetI18nKey<T extends Record<string, unknown>, K extends keyof T = keyof T> = K extends string

View File

@ -42,6 +42,6 @@ declare namespace NaiveUI {
type NaiveTableConfig<A extends TableApiFn> = Pick<
import('@sa/hooks').TableConfig<A, GetTableData<A>, TableColumn<TableDataWithIndex<GetTableData<A>>>>,
'apiFn' | 'apiParams' | 'columns' | 'immediate'
'apiFn' | 'apiParams' | 'columns' | 'immediate' | 'showTotal'
>;
}