From 9dd4b1be9b161c373259d7ce982eb12aa2091f90 Mon Sep 17 00:00:00 2001 From: iapyang Date: Sun, 25 Apr 2021 15:13:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=AE=8C=E5=96=84=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/widget.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index 6871bf09b4..d642150996 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -484,6 +484,11 @@ export declare class Widget extends OB { */ beforeInit?(cb: Function): void; + /** + * 渲染前 + */ + beforeRender?(cb: Function): void; + /** * 创建前 */