diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index c833f0658..29292a632 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -293,7 +293,7 @@ export interface _Widget extends _OB { /** * 设置text */ - setText(): void; + setText(text: string): void; /** * 获取值