Browse Source

无JIRA任务 更新logic

es6
windy 3 years ago
parent
commit
25e42f6d9d
  1. 3
      src/core/logic/logic.js

3
src/core/logic/logic.js

@ -30,7 +30,7 @@ BI.LogicFactory = {
case BI.LogicFactory.Type.HorizontalFill: case BI.LogicFactory.Type.HorizontalFill:
logic = BI.HorizontalFillLayoutLogic; logic = BI.HorizontalFillLayoutLogic;
break; break;
default : default:
logic = BI.Logic; logic = BI.Logic;
break; break;
} }
@ -52,7 +52,6 @@ BI.LogicFactory = {
createLogicItemsByDirection: function (direction) { createLogicItemsByDirection: function (direction) {
var layout; var layout;
var items = Array.prototype.slice.call(arguments, 1); var items = Array.prototype.slice.call(arguments, 1);
items = BI.compact(items);
items = BI.map(items, function (i, item) { items = BI.map(items, function (i, item) {
if (BI.isWidget(item)) { if (BI.isWidget(item)) {
return { return {

Loading…
Cancel
Save