[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; font-size: 16px;
margin-right: 10px; margin-right: 10px;
} }
.tree-node-custom-title {
max-width: 10em;
}
</style> </style>
@@ -21,7 +21,7 @@
@mouseleave="handleTreeMouseout(record.key)" @mouseleave="handleTreeMouseout(record.key)"
@click="treeSelect(record)"> @click="treeSelect(record)">
<a-icon class="parent-node-icon" type="folder" v-if="record.dataRef.children && record.dataRef.children.length > 0" /> <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> <template #title>
{{ record.title }} {{ record.title }}
</template> </template>
@@ -20,7 +20,7 @@
<a-icon class="parent-node-icon" <a-icon class="parent-node-icon"
type="folder" type="folder"
v-if="record.dataRef.children && record.dataRef.children.length > 0" /> v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip> <a-tooltip placement="topLeft">
<template #title> <template #title>
{{ record.title }} {{ record.title }}
</template> </template>
@@ -17,7 +17,7 @@
<a-icon class="parent-node-icon" <a-icon class="parent-node-icon"
type="folder" type="folder"
v-if="record.dataRef.children && record.dataRef.children.length > 0" /> v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip> <a-tooltip placement="topLeft">
<template #title> <template #title>
{{ record.folderName }} {{ record.folderName }}
</template> </template>