Skip to content

TreeSelect 树选择

树形选择控件,结合了树形控件和选择器的功能。

何时使用

  • 需要从树形结构中选择一个节点。
  • 展示层级数据且支持搜索。

代码演示

SXO Framework Switcher
🚧
This example is not yet available for .

API

API

参数说明类型默认值
modelValue选中的 key[String-
options树节点数据Array[]
placeholder占位提示语String"Please select"
size尺寸String"md"
rounded是否圆角Booleantrue
searchable是否可搜索Booleanfalse