1
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
const now = +new Date();
|
||||
let index = 0;
|
||||
export default function uid() {
|
||||
// eslint-disable-next-line no-plusplus
|
||||
return `rc-upload-${now}-${++index}`;
|
||||
}
|
||||
Reference in New Issue
Block a user