From d2d5eca64bfadc6d9b29ff85aedef0e8034a3b18 Mon Sep 17 00:00:00 2001 From: yangd Date: Mon, 10 Sep 2018 17:55:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A1=A8=E6=A0=BC=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=B1=9E=E6=80=A7=E7=9A=84=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/table.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/table.d.ts b/types/table.d.ts index 3cd4187d..c6dcdca3 100644 --- a/types/table.d.ts +++ b/types/table.d.ts @@ -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