完善重置数据

This commit is contained in:
zh
2025-08-19 11:21:30 +08:00
parent de4aead219
commit 3fab8ea031

View File

@ -116,6 +116,7 @@ class GroundImage extends Base {
break
}
}
if (this._DialogObject && this._DialogObject._element && this._DialogObject._element.body) {
let elms = this._DialogObject._element.body.getElementsByClassName('row')
let elms2 = this._DialogObject._element.foot.getElementsByTagName('button')
let elms3 = this._DialogObject._element.foot.getElementsByTagName('h4')
@ -152,6 +153,8 @@ class GroundImage extends Base {
}
}
}
}
const img = new Image();
img.crossOrigin = 'Anonymous';
img.src = this.replaceHost(this.options.url, this.options.host);
@ -1947,6 +1950,10 @@ class GroundImage extends Base {
this.flipeX = this.options.flipe.x
this.flipeY = this.options.flipe.y
this.show = this.options.show
this.mode = this.options.mode
this.heightMode = this.options.heightMode
this.billboardScale = this.options.billboard.scale
this.labelShow = this.options.label.show
}
async remove() {