Browse Source

Merge pull request #153075 in DEC/fineui from master to feature/x

* commit '71989e22631033324c108a0ebc2e3ea55698365f':
  KERNEL-12552 feat: 不执行BI.init(),很多方法调用会出现问题
research/test
superman 2 years ago
parent
commit
323412fd74
  1. 2
      src/base/0.base.js
  2. 0
      src/core/6.plugin.js
  3. 4
      src/core/platform/web/config.js

2
src/base/0.base.js

@ -1,4 +1,3 @@
BI.prepares.push(function () {
BI.Resizers = new BI.ResizeController(); BI.Resizers = new BI.ResizeController();
BI.Layers = new BI.LayerController(); BI.Layers = new BI.LayerController();
BI.Maskers = new BI.MaskersController(); BI.Maskers = new BI.MaskersController();
@ -8,4 +7,3 @@ BI.prepares.push(function () {
BI.Drawers = new BI.DrawerController(); BI.Drawers = new BI.DrawerController();
BI.Broadcasts = new BI.BroadcastController(); BI.Broadcasts = new BI.BroadcastController();
BI.StyleLoaders = new BI.StyleLoaderManager(); BI.StyleLoaders = new BI.StyleLoaderManager();
});

0
src/core/plugin.js → src/core/6.plugin.js

4
src/core/platform/web/config.js

@ -1,5 +1,5 @@
// 工程配置 // 工程配置
BI.prepares.push(function () { !(function () {
// 注册布局 // 注册布局
// adapt类布局优先级规则 // adapt类布局优先级规则
// 1、支持flex的浏览器下使用flex布局 // 1、支持flex的浏览器下使用flex布局
@ -276,4 +276,4 @@ BI.prepares.push(function () {
} }
return BI.extend({}, ob, { type: "bi.half_button" }); return BI.extend({}, ob, { type: "bi.half_button" });
}); });
}); }());

Loading…
Cancel
Save