mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
fix(upload): repair file upload and delete invalidation
This commit is contained in:
@@ -19,7 +19,7 @@ export function buildUUID(): string {
|
||||
}
|
||||
|
||||
let unique = 0;
|
||||
export function snowUuid(prefix: string): string {
|
||||
export function snowUuid(prefix = ''): string {
|
||||
const time = Date.now();
|
||||
const random = Math.floor(Math.random() * 1000000000);
|
||||
unique++;
|
||||
|
Reference in New Issue
Block a user