refactor(图表): 表格滚动到底部后停留 1.5 秒再回到顶部 #12677

This commit is contained in:
wisonic 2024-10-19 22:56:08 +08:00
parent 3eef0c07a5
commit b7ce8721e7

View File

@ -233,7 +233,10 @@ const mouseLeave = () => {
initScroll()
}
let scrollTimer
const initScroll = () => {
scrollTimer && clearTimeout(scrollTimer)
scrollTimer = setTimeout(() => {
// *toptop<*
const customAttr = actualChart?.customAttr
const senior = actualChart?.senior
@ -279,6 +282,7 @@ const initScroll = () => {
initScroll
)
}
}, 1500)
}
const showPage = computed(() => {