瀏覽代碼

修改包

haojianlong 4 年之前
父節點
當前提交
9dfb8091d4
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 1 1
      package.json
  2. 3 1
      src/components/baseEditer.vue
  3. 3 1
      src/views/drafts.vue

+ 1 - 1
package.json

@@ -11,7 +11,7 @@
     "@saga-web/base": "2.1.22",
     "@saga-web/big": "1.0.66",
     "@saga-web/draw": "2.1.100",
-    "@saga-web/feng-map": "1.0.17",
+    "@saga-web/feng-map": "1.0.19",
     "@saga-web/graph": "2.1.101",
     "ant-design-vue": "^1.6.0",
     "core-js": "^3.6.4",

+ 3 - 1
src/components/baseEditer.vue

@@ -45,6 +45,7 @@ export default {
       appName: "万达可视化系统",
       key: "23f30a832a862c58637a4aadbf50a566",
       mapServerURL: "http://map.wanda.cn/editor",
+      mapthemeUrl: `http://map.wanda.cn/editor/webtheme`,
       canvasWidth: 700,
       canvasHeight: 800,
       fParser: null,
@@ -100,7 +101,8 @@ export default {
         this.mapServerURL + "/fmap/" + this.urlMsg.fmapID,
         this.key,
         this.appName,
-        null
+        null,
+        this.mapthemeUrl
       );
       const floorid = this.urlMsg.FloorID;
       fengmap.loadMap(this.urlMsg.fmapID, resp => {

+ 3 - 1
src/views/drafts.vue

@@ -114,6 +114,7 @@ export default {
       urlMsg: null,
       floorList: {},
       mapServerURL: "http://map.wanda.cn/editor",
+      mapthemeUrl: `http://map.wanda.cn/editor/webtheme`,
       key: "23f30a832a862c58637a4aadbf50a566",
       appName: "万达可视化系统",
       defaultProps: {
@@ -158,7 +159,8 @@ export default {
         this.mapServerURL + "/fmap/" + this.fmapID,
         this.key,
         this.appName,
-        null
+        null,
+        this.mapthemeUrl
       );
       fengmap.loadMap(this.fmapID, resp => {
         this.floorList = resp;