feat: ColumnSetting and SizeSetting persist (#3398)

This commit is contained in:
xachary
2023-12-12 12:04:03 +08:00
committed by GitHub
parent 57e6e4f004
commit f4df2d5a4b
7 changed files with 602 additions and 252 deletions

7
types/store.d.ts vendored
View File

@@ -51,3 +51,10 @@ export interface BeforeMiniState {
menuMode?: MenuModeEnum;
menuType?: MenuTypeEnum;
}
export interface TableSetting {
size: Nullable<SizeType>;
showIndexColumn: Nullable<boolean>;
columns: Recordable<Nullable<Array<ColumnOptionsType>>>;
showRowSelection: Nullable<boolean>;
}