Typescriptas(XXX as unknown) as BBB 原因是InnerColumn中不需要dataIndex属性,所以 InnerColumn 比 ColumnType少一个dataIndex属性,导致两个形状无法重合,所以这样的 as 可能会导致错误,比较快速的解决方式是: