1.描述

虚拟滚动 + small

数据量大时可使用 virtual 接口开启虚拟滚动,默认值为 false。

使用虚拟滚动时,需要给 ti-tree 设置高度。

导入

import {{ '{' }} TiTreeModule {{ '}' }} from '@opentiny/ng';

2.示例

2.1 small型单选



选中项label:{{item.label}}

2.2 small型多选



选中项label:{{item.label}},