解决贴地图片修改文字不生效的问题
This commit is contained in:
@ -81,6 +81,16 @@ class GroundImage extends Base {
|
|||||||
this.create()
|
this.create()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get name() {
|
||||||
|
return this.options.name
|
||||||
|
}
|
||||||
|
|
||||||
|
set name(v) {
|
||||||
|
super.name = v
|
||||||
|
this.options.label.text = this.options.name
|
||||||
|
this.entity && (this.entity.label.text = this.options.label.text)
|
||||||
|
}
|
||||||
|
|
||||||
get mode() {
|
get mode() {
|
||||||
return this.options.mode
|
return this.options.mode
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user