|
@@ -21,7 +21,7 @@ import { readGroup, queryStatis } from '@/api/public'
|
|
|
import { queryShops } from '@/api/equipmentList.js'
|
|
|
import { STopologyParser } from '@/lib/parsers/STopologyParser'
|
|
|
import { mapGetters, mapActions } from 'vuex'
|
|
|
-import { SImageItem } from '@saga-web/graph/lib'
|
|
|
+import { SImageItem, SImageShowType } from '@saga-web/graph/lib'
|
|
|
import bus from '@/utils/bus.js'
|
|
|
|
|
|
// import { uuid } from "@/components/mapClass/until";
|
|
@@ -90,6 +90,7 @@ export default {
|
|
|
if (window.fengmapData.frImg) {
|
|
|
let imgItem = new SImageItem(null, `${this.mapServerURL}/webtheme/${this.fmapID}/${window.fengmapData.frImg}`)
|
|
|
this.scene.addItem(imgItem)
|
|
|
+ imgItem.showType = SImageShowType.AutoFit;
|
|
|
this.view.scene = this.scene
|
|
|
this.view.fitSceneToView()
|
|
|
}
|