fix(通用设置): 修复tree节点hover问题
--bug=1036034 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036034
This commit is contained in:
parent
04f93984e1
commit
6e8b1f2887
|
@ -18,7 +18,7 @@
|
|||
<template v-if="$slots['title']" #title="_props">
|
||||
<a-tooltip
|
||||
:content="_props[props.fieldNames.title]"
|
||||
:mouse-enter-delay="500"
|
||||
:mouse-enter-delay="800"
|
||||
:position="props.titleTooltipPosition"
|
||||
>
|
||||
<slot name="title" v-bind="_props"></slot>
|
||||
|
@ -128,7 +128,7 @@
|
|||
defaultExpandAll: false,
|
||||
selectable: true,
|
||||
draggable: false,
|
||||
titleTooltipPosition: 'right',
|
||||
titleTooltipPosition: 'top',
|
||||
fieldNames: () => ({
|
||||
key: 'key',
|
||||
title: 'title',
|
||||
|
@ -437,7 +437,7 @@
|
|||
}
|
||||
}
|
||||
.arco-tree-node-title-block {
|
||||
width: 80%;
|
||||
width: 60%;
|
||||
}
|
||||
.ms-tree-node-extra {
|
||||
@apply invisible relative w-0;
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
}
|
||||
}
|
||||
.ms-split-box--left {
|
||||
width: calc(v-bind(innerSize) - 2px);
|
||||
width: calc(v-bind(innerSize) + 7px);
|
||||
}
|
||||
.expand-icon {
|
||||
@apply invisible relative z-20 flex cursor-pointer justify-center;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
count: 'count',
|
||||
}"
|
||||
block-node
|
||||
title-tooltip-position="left"
|
||||
title-tooltip-position="top"
|
||||
@select="folderNodeSelect"
|
||||
@more-action-select="handleFolderMoreSelect"
|
||||
@more-actions-close="moreActionsClose"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<template v-if="$slots['tree-slot-title']" #tree-slot-title="_props">
|
||||
<a-tooltip
|
||||
:content="_props[props.fieldNames.title]"
|
||||
:mouse-enter-delay="500"
|
||||
:mouse-enter-delay="800"
|
||||
:position="props.titleTooltipPosition"
|
||||
>
|
||||
<slot name="tree-slot-title" v-bind="_props"></slot>
|
||||
|
@ -117,7 +117,7 @@
|
|||
defaultExpandAll: false,
|
||||
selectable: true,
|
||||
draggable: false,
|
||||
titleTooltipPosition: 'right',
|
||||
titleTooltipPosition: 'top',
|
||||
fieldNames: () => ({
|
||||
key: 'key',
|
||||
title: 'title',
|
||||
|
@ -1183,7 +1183,7 @@
|
|||
}
|
||||
}
|
||||
.arco-tree-node-title-block {
|
||||
width: 80%;
|
||||
width: 60%;
|
||||
}
|
||||
.ms-tree-node-extra {
|
||||
@apply invisible relative w-0;
|
||||
|
|
Loading…
Reference in New Issue