|
|
|
|
@ -471,10 +471,10 @@
|
|
|
|
|
},
|
|
|
|
|
getSelectedNodes(data, node) {
|
|
|
|
|
console.log("data", data, node)
|
|
|
|
|
if (data.children && data.children.length > 0) {
|
|
|
|
|
// node.disabled = true
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// if (data.children && data.children.length > 0) {
|
|
|
|
|
// // node.disabled = true
|
|
|
|
|
// return
|
|
|
|
|
// }
|
|
|
|
|
// this.$refs.tree.setCheckedKeys([]); // 删除所有选中节点
|
|
|
|
|
// this.$refs.tree.setCheckedNodes([data]); // 选中已选中节点
|
|
|
|
|
this.select.catalog_id = data.id
|
|
|
|
|
|