NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/ant-design-vue/es/_util/callMoment.js
2023-09-14 14:47:11 +08:00

8 lines
308 B
Java

// https://github.com/moment/moment/issues/3650
export default function callMoment(moment) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
return (moment["default"] || moment).apply(undefined, args);
}