fix(图表): 修复图表放大之后提示无法显示

This commit is contained in:
wisonic
2025-03-07 17:02:49 +08:00
committed by wisonic-s
parent efa6dfadef
commit 8c2f3a7a0e

View File

@@ -1366,6 +1366,8 @@ export function getTooltipContainer(id) {
let wrapperDom = document.getElementById(G2_TOOLTIP_WRAPPER)
if (!wrapperDom) {
wrapperDom = document.createElement('div')
wrapperDom.style.position = 'absolute'
wrapperDom.style.zIndex = '9999'
wrapperDom.id = G2_TOOLTIP_WRAPPER
document.body.appendChild(wrapperDom)
}