forked from zhurui/management
21 lines
396 B
JavaScript
21 lines
396 B
JavaScript
"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;
|
|
};
|
|
|
|
; |