Browse Source

fix: lodash环境修复

es6
iapyang 2 years ago
parent
commit
ced667c371
  1. 16
      src/core/logic/logic.layout.js

16
src/core/logic/logic.layout.js

@ -32,7 +32,7 @@ BI.VerticalLayoutLogic = BI.inherit(BI.Logic, {
} else {
layout = "bi.vtape";
}
return _.pickBy({
return BI._pickBy({
type: layout,
scrollable: o.scrollable,
scrolly: o.scrolly,
@ -50,7 +50,7 @@ BI.VerticalLayoutLogic = BI.inherit(BI.Logic, {
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize
}, _.identity);
}, BI._identity);
}
});
@ -89,7 +89,7 @@ BI.HorizontalLayoutLogic = BI.inherit(BI.Logic, {
} else {
layout = "bi.htape";
}
return _.pickBy({
return BI._pickBy({
type: layout,
scrollable: o.scrollable,
scrolly: o.scrolly,
@ -107,7 +107,7 @@ BI.HorizontalLayoutLogic = BI.inherit(BI.Logic, {
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize
}, _.identity);
}, BI._identity);
}
});
@ -143,7 +143,7 @@ BI.TableLayoutLogic = BI.inherit(BI.Logic, {
} else {
layout = "bi.window";
}
return _.pickBy({
return BI._pickBy({
type: layout,
scrollable: o.scrollable,
scrolly: o.scrolly,
@ -157,7 +157,7 @@ BI.TableLayoutLogic = BI.inherit(BI.Logic, {
verticalAlign: o.verticalAlign,
columnSize: o.columnSize,
rowSize: o.rowSize
}, _.identity);
}, BI._identity);
}
});
@ -198,7 +198,7 @@ BI.HorizontalFillLayoutLogic = BI.inherit(BI.Logic, {
} else {
layout = "bi.htape";
}
return _.pickBy({
return BI._pickBy({
type: layout,
scrollable: o.scrollable,
scrolly: o.scrolly,
@ -216,6 +216,6 @@ BI.HorizontalFillLayoutLogic = BI.inherit(BI.Logic, {
verticalAlign: o.verticalAlign,
columnSize: columnSize,
rowSize: o.rowSize
}, _.identity);
}, BI._identity);
}
});

Loading…
Cancel
Save