uid.js 169 Bytes Raw Blame History Permalink 1 2 3 4 5 6 var now = +new Date(); var index = 0; export default function uid() { // eslint-disable-next-line no-plusplus return "rc-upload-".concat(now, "-").concat(++index); }