mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
04baae5a57
* refactor: vc-upload * refactor: vc-upload * refactor: upload * refactor: upload * refactor: upload
8 lines
157 B
TypeScript
8 lines
157 B
TypeScript
const now = +new Date();
|
|
let index = 0;
|
|
|
|
export default function uid() {
|
|
// eslint-disable-next-line no-plusplus
|
|
return `vc-upload-${now}-${++index}`;
|
|
}
|