mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-21 21:57:38 +08:00
Various fixes
This commit is contained in:
@@ -4,7 +4,7 @@ import IEntity from "./IEntity"
|
||||
export default class GuidEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
value: String
|
||||
value: String,
|
||||
}
|
||||
|
||||
static generateGuid(random = true) {
|
||||
@@ -19,6 +19,10 @@ export default class GuidEntity extends IEntity {
|
||||
return new GuidEntity({ value: guid })
|
||||
}
|
||||
|
||||
valueOf() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
toString() {
|
||||
return this.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user