From 2af688766e98d5c71cacdd29c0e24d412efcc746 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 10 Jun 2020 11:14:34 +0800 Subject: [PATCH] bugfix --- src/core/inject.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/inject.js b/src/core/inject.js index 78a89d849..44fb9dfa1 100644 --- a/src/core/inject.js +++ b/src/core/inject.js @@ -57,6 +57,7 @@ if (!providers[type]) { providers[type] = new providerInjection[type](); } + providerInstance[type] = null; return configFn(providers[type]); } return BI.Plugin.configWidget(type, configFn); @@ -74,6 +75,7 @@ if (!providers[type]) { providers[type] = new providerInjection[type](); } + providerInstance[type] = null; queue[i](providers[type]); continue; }