Browse Source

参数为数组,调用lodash的方法

es6
windy 4 years ago
parent
commit
fcf12058c9
  1. 2
      src/core/base.js

2
src/core/base.js

@ -230,7 +230,7 @@ if (!_global.BI) {
}).join("");
}
if (BI.isArray(obj1)) {
return [].concat.apply([], arguments);
return _.concat.apply([], arguments);
}
if (BI.isObject(obj1)) {
return _.extend.apply({}, arguments);

Loading…
Cancel
Save