Improve tooltip

This commit is contained in:
Jeffrey Chen 2024-11-24 17:46:02 +08:00
parent cf1cf48d19
commit 72b25f632b

View file

@ -44,7 +44,7 @@ export const showTooltip = (message: string, target: Element, tooltipClass?: str
left = parentRect.right + 8;
} else if (position?.endsWith("parentW")) {
// 数据库属性视图
top = parentRect.top + (parseInt(position) || 0) || 8;
top = parentRect.top + (parseInt(position) || 8);
left = parentRect.left - messageElement.clientWidth;
}