From 4495c80cd084b3f2f9347417fb450d23e66d3199 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 17 Dec 2020 11:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/widget.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index 7bc644721..fb39f1f65 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -40,8 +40,8 @@ export interface _Widget extends _OB { * 真实dom的类jQuery对象 */ element: { - width(): number; - height(): number; + width(width?: number): number; + height(height?: number): number; [key: string]: any; }; @@ -79,7 +79,7 @@ export interface _Widget extends _OB { * 初始化前 */ beforeInit?(cb: Function): void; - + /** * 创建前 */ @@ -479,7 +479,7 @@ export declare class Widget extends OB { * 初始化前 */ beforeInit?(cb: Function): void; - + /** * 创建前 */