6 lines
169 B
JavaScript
6 lines
169 B
JavaScript
|
var now = +new Date();
|
||
|
var index = 0;
|
||
|
export default function uid() {
|
||
|
// eslint-disable-next-line no-plusplus
|
||
|
return "rc-upload-".concat(now, "-").concat(++index);
|
||
|
}
|