[fix 87494] 树节点悬浮左上角对齐显示

This commit is contained in:
danshihao
2024-07-26 09:27:35 +08:00
parent 7499ee62dc
commit 6c38c2bce7
4 changed files with 3 additions and 6 deletions
@@ -687,7 +687,4 @@ export default {
font-size: 16px;
margin-right: 10px;
}
.tree-node-custom-title {
max-width: 10em;
}
</style>
@@ -21,7 +21,7 @@
@mouseleave="handleTreeMouseout(record.key)"
@click="treeSelect(record)">
<a-icon class="parent-node-icon" type="folder" v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip>
<a-tooltip placement="topLeft">
<template #title>
{{ record.title }}
</template>
@@ -20,7 +20,7 @@
<a-icon class="parent-node-icon"
type="folder"
v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip>
<a-tooltip placement="topLeft">
<template #title>
{{ record.title }}
</template>
@@ -17,7 +17,7 @@
<a-icon class="parent-node-icon"
type="folder"
v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip>
<a-tooltip placement="topLeft">
<template #title>
{{ record.folderName }}
</template>