fix(图表): 修复表格滚动时拖动变形,修改为滚动时拖动时重绘表格 #10686

This commit is contained in:
wisonic 2024-07-10 19:32:04 +08:00
parent 13f2b2962f
commit 95602b0e37

View File

@ -2,6 +2,7 @@
import {
computed,
inject,
nextTick,
onBeforeUnmount,
onMounted,
PropType,
@ -393,6 +394,11 @@ const trackMenu = computed(() => {
})
const resizeAction = resizeColumn => {
//
if (myChart?.facet.timer) {
myChart?.facet.timer.stop()
nextTick(initScroll)
}
if (showPosition.value !== 'canvas') {
return
}