From 19b7535f96c218957927e003ab6b02c373ba1ff8 Mon Sep 17 00:00:00 2001 From: data Date: Mon, 4 Jul 2022 10:45:40 +0800 Subject: [PATCH 1/5] auto upgrade version to 2.0.20220704104530 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7ebe7bb4..5e4f31f13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220701111336", + "version": "2.0.20220704104530", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts", From ba85de91665b0ee608aac5e439a6fd2939ba04e6 Mon Sep 17 00:00:00 2001 From: data Date: Mon, 4 Jul 2022 10:54:23 +0800 Subject: [PATCH 2/5] auto upgrade version to 2.0.20220704105410 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e4f31f13..4ffdadb3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220704104530", + "version": "2.0.20220704105410", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts", From 6dc1dc3d284e8661559aee88391c8e8c78a773ed Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 4 Jul 2022 13:11:00 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20shortcut?= =?UTF-8?q?=E5=85=88=E6=94=BE=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/5.inject.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/core/5.inject.js b/src/core/5.inject.js index 3e606f1a7..fe4f5133e 100644 --- a/src/core/5.inject.js +++ b/src/core/5.inject.js @@ -32,7 +32,7 @@ } moduleInjection[xtype] = cls; } - + return function () { return BI.Modules.getModule(xtype); }; @@ -45,7 +45,7 @@ } else { constantInjection[xtype] = cls; } - + return function () { return BI.Constants.getConstant(xtype); }; @@ -58,7 +58,7 @@ } else { modelInjection[xtype] = cls; } - + return function (config) { return BI.Models.getModel(xtype, config); }; @@ -71,7 +71,7 @@ } else { storeInjection[xtype] = cls; } - + return function (config) { return BI.Stores.getStore(xtype, config); }; @@ -84,7 +84,7 @@ } else { serviceInjection[xtype] = cls; } - + return function (config) { return BI.Services.getService(xtype, config); }; @@ -97,7 +97,7 @@ } else { providerInjection[xtype] = cls; } - + return function (config) { return BI.Providers.getProvider(xtype, config); }; @@ -402,8 +402,6 @@ BI.shortcut = BI.component = BI.shortcut || function (xtype, cls) { if (kv[xtype] != null) { _global.console && console.error("组件: [" + xtype + "] 已经注册过了"); - - return; } if (cls) { cls["xtype"] = xtype; From 6c5c86fe9ec1bcfcb3b54141cc5246a16d2685bd Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 4 Jul 2022 13:18:40 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20shortcut?= =?UTF-8?q?=E5=85=88=E6=94=BE=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/5.inject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/5.inject.js b/src/core/5.inject.js index fe4f5133e..9e0ae8503 100644 --- a/src/core/5.inject.js +++ b/src/core/5.inject.js @@ -81,10 +81,10 @@ BI.service = BI.service || function (xtype, cls) { if (serviceInjection[xtype] != null) { _global.console && console.error("service: [" + xtype + "] 已经注册过了"); - } else { - serviceInjection[xtype] = cls; } + serviceInjection[xtype] = cls; + return function (config) { return BI.Services.getService(xtype, config); }; From 1fb8371cfc644110d101191e966c62325f36eab4 Mon Sep 17 00:00:00 2001 From: data Date: Mon, 4 Jul 2022 13:46:01 +0800 Subject: [PATCH 5/5] auto upgrade version to 2.0.20220704134548 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ffdadb3f..57af6811d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20220704105410", + "version": "2.0.20220704134548", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts",