diff --git a/src/util/graphic.ts b/src/util/graphic.ts index c4f8c81da0d5f851e403f65d8febf3ae87fd8546..57ec7a4ffd645f8092d33f61c9804045ea37dd77 100644 --- a/src/util/graphic.ts +++ b/src/util/graphic.ts @@ -707,7 +707,8 @@ export function setLabelStyle( normalModel, opt )); - emphasisState.textConfig = createTextConfig( + const targetElEmphasisState = targetEl.ensureState('emphasis'); + targetElEmphasisState.textConfig = createTextConfig( emphasisState.style, emphasisModel, opt