From 40d24da03c9187792e0faa68592b64e36753ab66 Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 26 Jul 2019 15:28:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=82=E6=95=B0=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= 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 a9912ae6c..c833f0658 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -283,7 +283,7 @@ export interface _Widget extends _OB { * @param key 键 * @param value 值 */ - attr(key: string | { [key: string]: any }, value: any): any; + attr(key: string | { [key: string]: any }, value?: any): any; /** * 获取text