修复表格排序属性的类型

This commit is contained in:
yangd 2018-09-10 17:55:27 +08:00
parent ca928d83e5
commit d2d5eca64b

2
types/table.d.ts vendored
View file

@ -242,7 +242,7 @@ export declare interface TableColumn {
* Table on- sort - change ,false
* @default false
*/
sortable?: boolean;
sortable?: boolean | 'custom';
/**
* 使 a b type
* sortable?: true type asc desc