From 45b63ceaa4fdc2d940f94ca3051505395af94e21 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 11 Dec 2020 18:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BE=9B=E4=B8=80=E4=B8=AABI.getDOMNo?= =?UTF-8?q?de=E6=96=B9=E6=B3=95=EF=BC=8C=E6=9B=BF=E6=8D=A2=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E7=9A=84BI.Plugin.registObject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/inject.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/inject.js b/src/core/inject.js index 6cfa3abe1..7ebbd01ee 100644 --- a/src/core/inject.js +++ b/src/core/inject.js @@ -92,6 +92,10 @@ configFunctions[type].push(configFn); }; + BI.getDOMNode = BI.getDOMNode || function (type, fn) { + return BI.Plugin.registerObject(type, fn); + }; + var actions = {}; var globalAction = []; BI.action = BI.action || function (type, actionFn) {