This commit is contained in:
zh
2025-10-23 18:01:47 +08:00
parent f52d928b9b
commit 90466a4799
4 changed files with 17 additions and 7 deletions

View File

@ -27,6 +27,7 @@ import {
import { syncSplitData, setActiveId } from '../Global/SplitScreen'
import { apiQueryGoodsList } from '../Tools/getGoodsList'
import YJColorPicker from "../Obj/Element/yj-color-picker";
import { destroy as mapxDestroy } from "../Global/MapX";
// window.check = check
class YJEarth {
@ -572,6 +573,7 @@ class YJEarth {
}
if (this.viewer) {
mapxDestroy(this)
if (this.viewer.entities) {
this.viewer.entities.removeAll()
}