forked from github/dataease
fix(图表): 修复热力地图在编辑状态下无法拖动地图问题
This commit is contained in:
parent
3675d6137f
commit
22f9e3f42b
@ -301,7 +301,8 @@ const boardMoveActive = computed(() => {
|
||||
'table-info',
|
||||
'table-normal',
|
||||
'table-pivot',
|
||||
'symbolic-map'
|
||||
'symbolic-map',
|
||||
'heat-map'
|
||||
]
|
||||
return CHARTS.includes(element.value.innerType)
|
||||
})
|
||||
|
@ -174,7 +174,7 @@ const calcData = async (view, callback) => {
|
||||
callback?.()
|
||||
})
|
||||
} else {
|
||||
if (['bubble-map', 'map', 'flow-map'].includes(view.type)) {
|
||||
if (['bubble-map', 'map', 'flow-map', 'heat-map'].includes(view.type)) {
|
||||
await renderChart(view, callback)
|
||||
}
|
||||
callback?.()
|
||||
@ -484,7 +484,7 @@ defineExpose({
|
||||
})
|
||||
let resizeObserver
|
||||
const TOLERANCE = 0.01
|
||||
const RESIZE_MONITOR_CHARTS = ['map', 'bubble-map', 'flow-map']
|
||||
const RESIZE_MONITOR_CHARTS = ['map', 'bubble-map', 'flow-map', 'heat-map']
|
||||
onMounted(() => {
|
||||
const containerDom = document.getElementById(containerId)
|
||||
const { offsetWidth, offsetHeight } = containerDom
|
||||
|
Loading…
Reference in New Issue
Block a user