mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Link icon fixing, name refactoring
This commit is contained in:
@@ -7,13 +7,13 @@ export default class ObjectReferenceEntity extends IEntity {
|
||||
path: String,
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
if (options.constructor !== Object) {
|
||||
options = {
|
||||
path: options
|
||||
constructor(values = {}) {
|
||||
if (values.constructor !== Object) {
|
||||
values = {
|
||||
path: values
|
||||
}
|
||||
}
|
||||
super(options)
|
||||
super(values)
|
||||
/** @type {String} */ this.type
|
||||
/** @type {String} */ this.path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user