1
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = uid;
|
||||
const now = +new Date();
|
||||
let index = 0;
|
||||
function uid() {
|
||||
// eslint-disable-next-line no-plusplus
|
||||
return `rc-upload-${now}-${++index}`;
|
||||
}
|
||||
Reference in New Issue
Block a user