diff --git a/ui/src/ui/app-render.ts b/ui/src/ui/app-render.ts index 74ca445b8b0..18fc0610d9a 100644 --- a/ui/src/ui/app-render.ts +++ b/ui/src/ui/app-render.ts @@ -1474,35 +1474,36 @@ export function renderApp(state: AppViewState) { })} - ${ - state.showClawComputer - ? html` - { - if (e.detail.width !== undefined) { - state.setClawComputerWidth(e.detail.width); - } - }} - > -
-
- 🖥️ 远程桌面 - -
- -
- ` - : nothing - } + { + if (e.detail.width !== undefined) { + state.setClawComputerWidth(e.detail.width); + } + }} + style=${state.showClawComputer ? "" : "display: none;"} + > +
+ +
` : nothing