@@ -60,6 +60,8 @@ export function isHqListColumnKey(value: string): value is HqListColumnKey {
|
||||
export type HqListColumnPref = {
|
||||
order: string[];
|
||||
hidden: string[];
|
||||
/** 列宽(px);未出现的 key 用列默认 width */
|
||||
widths?: Record<string, number>;
|
||||
};
|
||||
|
||||
export type HqListColumnPrefsMap = Partial<Record<HqListColumnKey, HqListColumnPref>>;
|
||||
@@ -68,4 +70,5 @@ export type SaveHqListColumnPrefsRequest = {
|
||||
reset?: boolean;
|
||||
order?: string[];
|
||||
hidden?: string[];
|
||||
widths?: Record<string, number>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user