mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-17 05:47:34 +08:00
Small refactoring
This commit is contained in:
@@ -13,7 +13,7 @@ export default class GuidEntity extends Entity {
|
||||
}
|
||||
let guid = ""
|
||||
values.forEach(n => {
|
||||
guid += ('00000000' + n.toString(16).toUpperCase()).slice(-8)
|
||||
guid += ("0".repeat(8) + n.toString(16).toUpperCase()).slice(-8)
|
||||
})
|
||||
return new GuidEntity({ valud: guid })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user