From 093490c59b96c46236889d7acfc8e5569e26c41d Mon Sep 17 00:00:00 2001 From: alan Date: Thu, 17 Dec 2020 18:09:38 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-6431=20=E8=B0=83=E6=95=B4=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/base/single/iframe/iframe.ts | 2 +- typescript/core/wrapper/layout/layout.card.ts | 2 +- typescript/index.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript/base/single/iframe/iframe.ts b/typescript/base/single/iframe/iframe.ts index a9a2c8bdf..2b9f66db1 100644 --- a/typescript/base/single/iframe/iframe.ts +++ b/typescript/base/single/iframe/iframe.ts @@ -10,7 +10,7 @@ export interface _Iframe extends _Single { getName(): string; } -export declare class iframe extends Single { +export declare class Iframe extends Single { static xtype: string; setSrc(v: string): void; diff --git a/typescript/core/wrapper/layout/layout.card.ts b/typescript/core/wrapper/layout/layout.card.ts index 35a495143..91acaadbc 100644 --- a/typescript/core/wrapper/layout/layout.card.ts +++ b/typescript/core/wrapper/layout/layout.card.ts @@ -14,7 +14,7 @@ export declare class CardLayout extends Layout { addCardByName(cardName: string, cardItem: any): Widget - showCardByName(cardName: string, action: any, callback: () => void): void; + showCardByName(cardName: string, action?: any, callback?: () => void): void; showLastCard(): void; diff --git a/typescript/index.ts b/typescript/index.ts index 5ba8fbfff..73bb05305 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -8,7 +8,7 @@ import { _Button, _ButtonStatic, Button } from "./base/single/button/buttons/but import { TextButton, _TextButton, _TextButtonStatic } from "./base/single/button/buttons/button.text"; import { _IconTextItem, _IconTextItemStatic } from "./base/single/button/listitem/icontextitem"; import { _Editor, _EditorStatic, Editor } from "./base/single/editor/editor"; -import { iframe, _Iframe } from "./base/single/iframe/iframe"; +import { Iframe, _Iframe } from "./base/single/iframe/iframe"; import { _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox"; import { _Input, _InputStatic } from "./base/single/input/input"; import { _AbstractLabel, AbstractLabel } from "./base/single/label/abstract.label"; @@ -336,5 +336,5 @@ export { CardLayout, DynamicYearMonthCombo, TimeCombo, - iframe, + Iframe, };