12-19
This commit is contained in:
@ -581,6 +581,8 @@ class Smoke extends Base {
|
||||
this.lng = this.originalOptions.lng
|
||||
this.lat = this.originalOptions.lat
|
||||
this.alt = this.originalOptions.alt
|
||||
syncData(this.sdk, this.options.id)
|
||||
syncSplitData(this.sdk, this.options.id)
|
||||
}
|
||||
|
||||
async remove() {
|
||||
@ -594,7 +596,10 @@ class Smoke extends Base {
|
||||
this.tip && this.tip.destroy()
|
||||
this.event && this.event.destroy()
|
||||
await this.sdk.removeIncetance(this.options.id)
|
||||
await syncData(this.sdk, this.options.id)
|
||||
let sdkD = get2DSdk().sdkD
|
||||
if(this.sdk !== sdkD) {
|
||||
await syncData(this.sdk, this.options.id)
|
||||
}
|
||||
}
|
||||
|
||||
/**@desc 打开平移功能
|
||||
|
||||
Reference in New Issue
Block a user