From 4ace232e3cb72d59ceafb608bf6a7c3438cef228 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 27 Jul 2021 00:19:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/6.inject.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/6.inject.js b/src/core/6.inject.js index 0f9b04fc6..25c324602 100644 --- a/src/core/6.inject.js +++ b/src/core/6.inject.js @@ -11,10 +11,9 @@ if (moduleInjection[xtype] != null) { _global.console && console.error("module: [" + xtype + "] 已经注册过了"); } - var key; for (var k in moduleInjectionMap) { if(cls[k]){ - for (key in cls[k]) { + for (var key in cls[k]) { if (!moduleInjectionMap[k][key]) { moduleInjectionMap[k][key] = []; } From e630f438a3954cac06692daeb659030b1a414d32 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 10 Aug 2021 16:12:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=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/combination/tab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/base/combination/tab.ts b/typescript/base/combination/tab.ts index 951252fe1..611c3e9c0 100644 --- a/typescript/base/combination/tab.ts +++ b/typescript/base/combination/tab.ts @@ -14,7 +14,7 @@ export declare class Tab extends Widget { logic?: { dynamic: boolean; }; - tab?: any[]; + tab?: Obj; } setSelect(v: string | number, action?: Action, callback?: Function): void;