update
This commit is contained in:
@@ -91,7 +91,7 @@ export function setupTooltip(options: { carrier: Ref<HTMLElement | null> }) {
|
||||
const ctx: TooltipContext = {
|
||||
show(tooltip, x, y) {
|
||||
if (carrier.value) {
|
||||
carrier.value.firstChild!.textContent = tooltip;
|
||||
(carrier.value.firstChild as HTMLElement)!.innerHTML = tooltip;
|
||||
}
|
||||
active.value = true;
|
||||
listener({ x, y });
|
||||
|
||||
Reference in New Issue
Block a user