Browse Source

更新包

haojianlong 4 năm trước cách đây
mục cha
commit
df686a01b6
2 tập tin đã thay đổi với 7 bổ sung6 xóa
  1. 5 5
      package.json
  2. 2 1
      src/components/floorMap/index.vue

+ 5 - 5
package.json

@@ -11,11 +11,11 @@
     },
     "dependencies": {
         "@mapbox/geojson-merge": "^1.1.1",
-        "@saga-web/base": "2.1.22",
-        "@saga-web/big": "1.0.86",
-        "@saga-web/draw": "2.1.102",
-        "@saga-web/feng-map": "1.0.25",
-        "@saga-web/graph": "2.1.112",
+        "@saga-web/base": "2.1.24",
+        "@saga-web/big": "1.0.90",
+        "@saga-web/draw": "2.1.104",
+        "@saga-web/feng-map": "1.0.26",
+        "@saga-web/graph": "2.1.115",
         "ant-design-vue": "^1.4.10",
         "axios": "^0.19.2",
         "core-js": "^3.4.4",

+ 2 - 1
src/components/floorMap/index.vue

@@ -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()
                 }