mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-06 23:57:30 +08:00
Revert documentation (caused a bug)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import IEntity from "./IEntity"
|
||||
|
||||
|
||||
export default class GuidEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
@@ -15,11 +16,9 @@ export default class GuidEntity extends IEntity {
|
||||
values.forEach(n => {
|
||||
guid += ("0".repeat(8) + n.toString(16).toUpperCase()).slice(-8)
|
||||
})
|
||||
return new GuidEntity({ valud: guid })
|
||||
return new GuidEntity({ value: guid })
|
||||
}
|
||||
|
||||
/** @type {String} */ value
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user