From 3380689a4ae534131513b16ed153ff7434a48219 Mon Sep 17 00:00:00 2001 From: ming680 <827668037@qq.com> Date: Mon, 29 Jul 2024 11:44:51 +0800 Subject: [PATCH] fix(util): fix lightDom beforeRender --- src/_util/lightDom.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_util/lightDom.ts b/src/_util/lightDom.ts index a4dcc17..020a891 100644 --- a/src/_util/lightDom.ts +++ b/src/_util/lightDom.ts @@ -73,6 +73,8 @@ const buildLightDomCtor = (nodeCtor: ComponentConstructor) => { const styleSheet = createStyleSheet(style); parentElement.adoptedStyleSheets = [...parentElement.adoptedStyleSheets, styleSheet]; }); + + super.beforeRender(); } }