mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 03:04:09 +08:00
== -> ===
This commit is contained in:
parent
f50a945358
commit
f848e31a86
@ -21,7 +21,7 @@ export const generateUUID = (): string => {
|
||||
for (var i = 1; i <= 32; i++) {
|
||||
var n = Math.floor(Math.random() * 16.0).toString(16);
|
||||
guid += n;
|
||||
if (i == 8 || i == 12 || i == 16 || i == 20) guid += "-";
|
||||
if (i === 8 || i === 12 || i === 16 || i === 20) guid += "-";
|
||||
}
|
||||
return guid;
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user