fix(BasicTable): showIndexColumn/showRowSelection cache should by route name (#3489)

This commit is contained in:
xachary
2024-01-02 09:46:41 +08:00
committed by GitHub
parent 98e2e4c89a
commit d88f455cd3
3 changed files with 36 additions and 16 deletions

4
types/store.d.ts vendored
View File

@@ -54,7 +54,7 @@ export interface BeforeMiniState {
export interface TableSetting {
size: Nullable<SizeType>;
showIndexColumn: Nullable<boolean>;
showIndexColumn: Recordable<Nullable<boolean>>;
columns: Recordable<Nullable<Array<ColumnOptionsType>>>;
showRowSelection: Nullable<boolean>;
showRowSelection: Recordable<Nullable<boolean>>;
}