forked from github/dataease
fix(图表): 修复表格滚动时拖动变形,修改为滚动时拖动时重绘表格 #10686
This commit is contained in:
parent
13f2b2962f
commit
95602b0e37
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user