提交
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user