<a-tree-select
v-model="formData2.ids"
:replaceFields="{
children: 'children',
label: 'menuName',
value: 'menuId',
}"
style="width: 100%"
:tree-data="treeData"
:showCheckedStrategy="SHOW_ALL"
tree-checkable
search-placeholder="Please select"
@change="changeBtn"
@select="selectBtn"
@deselect="deselectBtn"
/>
deselectBtn (even, evenT, evenTR) {
console.log(evenTR,"这里面有伴选父级ID")
},
// tree 完全受控 选中
selectBtn (even, evenT, evenTR) {
console.log(evenTR,"这里面有伴选父级ID")
},