lepu-test-platform-web/node_modules/element-ui/lib/utils/merge.js

21 lines
396 B
JavaScript
Raw Permalink Normal View History

"use strict";
exports.__esModule = true;
exports.default = function (target) {
for (var i = 1, j = arguments.length; i < j; i++) {
var source = arguments[i] || {};
for (var prop in source) {
if (source.hasOwnProperty(prop)) {
var value = source[prop];
if (value !== undefined) {
target[prop] = value;
}
}
}
}
return target;
};
;