treeselect只选了分支节点全选_vue Treeselect 树形下拉框:获取选中节点的ids和lables操作...

API: https://vue-treeselect.js.org/#events

1.ids: 即value

1.lable: 需要用到方法:@select(node,instanceId) 和 @deselect(node,instanceId)

v-model="DRHA_EFaultModeTree_value"

:multiple="true"

:options="DRHA_EFaultModeTree_options"

:flat="true"

:show-count="true"

:disable-branch-nodes="true"

:searchable="false"

@select="DRHA_EFaultModeTree_handleSelect"

@deselect="DRHA_EFaultModeTree_handleDeSelect"

placeholder=" 请选择..."/>

lables:{ {DRHA_EFaultModeTree_lables}}

ids:{ {DRHA_EFaultModeTree_value}}

// import the component

import Treeselect from '@riophae/vue-treeselect'

// import the st

你可能感兴趣的:(treeselect只选了分支节点全选_vue Treeselect 树形下拉框:获取选中节点的ids和lables操作...)