fix(upload): repair file upload and delete invalidation

This commit is contained in:
vben
2020-12-06 20:45:23 +08:00
parent 404db2fb49
commit bd6b203fa9
14 changed files with 202 additions and 70 deletions

View File

@@ -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++;