mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
fix(图表): 修复地图、气泡地图禁用拖拽后,在移动端中仍然能够双指上下旋转以及放大缩小的问题
This commit is contained in:
committed by
jianneng-fit2cloud
parent
7777fd3585
commit
26acd44e5c
@@ -1396,6 +1396,8 @@ export function configL7PlotZoom(chart: Chart, plot: L7Plot<PlotOptions>) {
|
||||
plot.scene.map['scrollZoom']?.disable()
|
||||
plot.scene.map['doubleClickZoom']?.disable()
|
||||
plot.scene.map['dragRotate']?.disable()
|
||||
plot.scene.map['touchPitch']?.disable()
|
||||
plot.scene.map['touchZoomRotate']?.disable()
|
||||
return
|
||||
}
|
||||
plot.once('loaded', () => {
|
||||
|
||||
Reference in New Issue
Block a user