amis-rpc-design/node_modules/rc-upload/es/uid.js

6 lines
169 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
var now = +new Date();
var index = 0;
export default function uid() {
// eslint-disable-next-line no-plusplus
return "rc-upload-".concat(now, "-").concat(++index);
}