From 091fc335b8d3604917d3c4a33901ccedc3b73fa0 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 9 Dec 2019 11:38:59 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-2418=20refactor:=20=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index 65a6a9b5b..a3c5ddf92 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -247,7 +247,7 @@ export interface _Widget extends _OB { /** * 根据wigetname获取子元素实例 */ - getWidgetByName(_name: string): _Widget; + getWidgetByName(_name: string): _Widget | undefined; /** * 移除子元素