


















@@ -1,5 +1,5 @@
11import { LitElement } from "lit";
2-import { customElement, state } from "lit/decorators.js";
2+import { state } from "lit/decorators.js";
33import { i18n, I18nController, isSupportedLocale } from "../i18n/index.ts";
44import {
55handleChannelConfigReload as handleChannelConfigReloadInternal,
@@ -140,7 +140,6 @@ function resolveOnboardingMode(): boolean {
140140return normalized === "1" || normalized === "true" || normalized === "yes" || normalized === "on";
141141}
142142143-@customElement("openclaw-app")
144143export class OpenClawApp extends LitElement {
145144private i18nController = new I18nController(this);
146145clientInstanceId = generateUUID();
@@ -1165,3 +1164,7 @@ export class OpenClawApp extends LitElement {
11651164return renderApp(this as unknown as AppViewState);
11661165}
11671166}
1167+1168+if (!customElements.get("openclaw-app")) {
1169+customElements.define("openclaw-app", OpenClawApp);
1170+}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。