Browse Source

Pull request #2525: 无JIRA任务 更新logic

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '25e42f6d9d9a91ccf8581d4cd4dd24a8c86945ab':
  无JIRA任务 更新logic
es6
windy 3 years ago
parent
commit
1e68ed3095
  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