From 22c973cbad864a09bc04cdf7971bfe7729f3b3d0 Mon Sep 17 00:00:00 2001 From: liujuping Date: Mon, 18 Apr 2022 14:35:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E4=B8=8D=E5=BF=85?= =?UTF-8?q?=E8=A6=81=E7=9A=84=20obx=EF=BC=88SimulatorRendererContainer.=5F?= =?UTF-8?q?components=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-simulator-renderer/src/renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-simulator-renderer/src/renderer.ts b/packages/react-simulator-renderer/src/renderer.ts index 91ccd5ee1..3981faa52 100644 --- a/packages/react-simulator-renderer/src/renderer.ts +++ b/packages/react-simulator-renderer/src/renderer.ts @@ -332,7 +332,7 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer { ...this._components, }; } - @obx.ref private _components: any = {}; + private _components: any = {}; get components(): object { // 根据 device 选择不同组件,进行响应式