Compare commits
No commits in common. "50e730c9ffab331cb324f9bbaef9f389e70908e2" and "ebaec6bda1f4bb823babbb07c6897253a290c901" have entirely different histories.
50e730c9ff
...
ebaec6bda1
|
@ -39,7 +39,7 @@
|
||||||
fill="#0058e1"
|
fill="#0058e1"
|
||||||
></path>
|
></path>
|
||||||
</svg>
|
</svg>
|
||||||
<a-tooltip @mouseenter="showToolTip">
|
<a-tooltip>
|
||||||
<template #title>{{ val.title }}</template>
|
<template #title>{{ val.title }}</template>
|
||||||
<span class="name">
|
<span class="name">
|
||||||
{{ val.title }}
|
{{ val.title }}
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
fill="#0058e1"
|
fill="#0058e1"
|
||||||
></path>
|
></path>
|
||||||
</svg>
|
</svg>
|
||||||
<a-tooltip @mouseenter="showToolTip">
|
<a-tooltip>
|
||||||
<template #title>{{ child.title }}</template>
|
<template #title>{{ child.title }}</template>
|
||||||
<span class="name">
|
<span class="name">
|
||||||
{{ child.title }}
|
{{ child.title }}
|
||||||
|
@ -251,13 +251,6 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const showToolTip = (e) => {
|
|
||||||
console.log('鼠标移入', e, e.target.clientWidth, e.target.scrollWidth)
|
|
||||||
debugger
|
|
||||||
if (e.target.clientWidth < 200) {
|
|
||||||
e.target.style.pointerEvents = 'none' // 阻止鼠标事件
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 区级特殊处理
|
// 区级特殊处理
|
||||||
const generateChildren2 = (val, obj) => {
|
const generateChildren2 = (val, obj) => {
|
||||||
if (val.dataList.length > 0) {
|
if (val.dataList.length > 0) {
|
||||||
|
@ -402,7 +395,6 @@
|
||||||
showBottom,
|
showBottom,
|
||||||
showDown,
|
showDown,
|
||||||
selectId,
|
selectId,
|
||||||
showToolTip,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
|
@ -519,7 +511,6 @@
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
max-width: 200px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.up:hover {
|
.up:hover {
|
||||||
|
|
Loading…
Reference in New Issue