|
|
|
@ -4137,8 +4137,13 @@ const expandUserComponentsTree = computed(()=>{ |
|
|
|
const treeSelectRef = ref(); |
|
|
|
|
|
|
|
const handleTreeSelectChange = (value) => { |
|
|
|
|
|
|
|
// value 是选中的值,根据props配置,默认是节点的id |
|
|
|
console.log(value) |
|
|
|
|
|
|
|
if(undefined == value){ |
|
|
|
controlData.value.control.connectUserComponent = "" |
|
|
|
controlData.value.control.showConnectUserComponent = "" |
|
|
|
}else{ |
|
|
|
// value 是选中的值,根据props配置,默认是节点的id |
|
|
|
//console.log('选中的值:', value); |
|
|
|
|
|
|
|
// 通过TreeSelect实例的getNode方法获取节点 |
|
|
|
@ -4151,6 +4156,8 @@ const handleTreeSelectChange = (value) => { |
|
|
|
// 你可以在这里做你想要的操作 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|