fix(table):basicColumn加泛型 (#1618)
新版本ant design vue的columnProps使用了泛型,导致xxx.data.ts里面定义的BasicColumn使用customRender地方全部报错
This commit is contained in:
parent
3d55b0d45b
commit
9092c34cd5
|
|
@ -412,7 +412,7 @@ export type CellFormat =
|
||||||
| Map<string | number, any>;
|
| Map<string | number, any>;
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export interface BasicColumn extends ColumnProps {
|
export interface BasicColumn extends ColumnProps<Recordable> {
|
||||||
children?: BasicColumn[];
|
children?: BasicColumn[];
|
||||||
filters?: {
|
filters?: {
|
||||||
text: string;
|
text: string;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue