|
|
@ -454,7 +454,7 @@ function onNodeClick(data:matterTree,node:TreeNode,self:any,env:any){ |
|
|
if(!PRIVATESPACE.value) { |
|
|
if(!PRIVATESPACE.value) { |
|
|
PRIVATESPACE.value=true |
|
|
PRIVATESPACE.value=true |
|
|
} |
|
|
} |
|
|
if (data){ |
|
|
if(data){ |
|
|
if (currentNode.value.uuid === data.uuid) return; |
|
|
if (currentNode.value.uuid === data.uuid) return; |
|
|
//const cuuid = data.uuid |
|
|
//const cuuid = data.uuid |
|
|
currentNode.value = data |
|
|
currentNode.value = data |
|
|
@ -929,7 +929,7 @@ const handleSelectionChange = (val:matterInfo[]) => { |
|
|
<div style="display:grid;grid-template-columns:1fr 4fr; width: 100%;height: 100%;"> |
|
|
<div style="display:grid;grid-template-columns:1fr 4fr; width: 100%;height: 100%;"> |
|
|
<div class="menus_tree"> |
|
|
<div class="menus_tree"> |
|
|
<div class="area_header"> |
|
|
<div class="area_header"> |
|
|
<el-icon :size="20"><House /></el-icon><span class="area_name" > 个人空间</span> |
|
|
<el-icon :size="20"><House /></el-icon><span class="area_name" @click="onNodeClick(null)"> 个人空间</span> |
|
|
</div> |
|
|
</div> |
|
|
<el-tree |
|
|
<el-tree |
|
|
ref="treeRef" |
|
|
ref="treeRef" |
|
|
|