From 217e272b5821a44d395e95f8c03f17e0fcec238f Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 7 Dec 2023 09:54:19 +0800 Subject: [PATCH] * core: init zui content after load html content. --- lib/core/src/react/components/html-content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/react/components/html-content.tsx b/lib/core/src/react/components/html-content.tsx index 443d77cf86..6e414dcb8f 100644 --- a/lib/core/src/react/components/html-content.tsx +++ b/lib/core/src/react/components/html-content.tsx @@ -21,7 +21,7 @@ export class HtmlContent extends Component { if (!this.props.executeScript) { return; } - $(this._ref.current).runJS(); + $(this._ref.current).runJS().zuiInit(); } componentDidMount(): void {