From f9c5220d7b269e2c470ed8b92c595c8671450aa1 Mon Sep 17 00:00:00 2001 From: nanasikeai Date: Wed, 16 Oct 2024 16:10:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=98=E5=82=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E3=80=81=E7=BC=96=E8=BE=91=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=8E=A5=E5=8F=A3=20--bug=3D132024705?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/hooks/use-model-provider.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/hooks/use-model-provider.ts b/src/frontend/src/hooks/use-model-provider.ts index ec67966d..9b642a11 100644 --- a/src/frontend/src/hooks/use-model-provider.ts +++ b/src/frontend/src/hooks/use-model-provider.ts @@ -39,6 +39,8 @@ const findProvider = (componentInstance: ComponentInternalInstance | null): Comp search([child.subTree]); } else if (child.component) { search([child.component]); + } else { + search(child.children); } }); };