Selaa lähdekoodia

基础图片item修改

haojianlong 5 vuotta sitten
vanhempi
commit
6ed0ca6aa7

+ 1 - 1
saga-web-draw/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@saga-web/draw",
-    "version": "2.1.81",
+    "version": "2.1.82",
     "description": "上格云绘制引擎。",
     "main": "lib/index.js",
     "types": "lib/index.d.js",

+ 1 - 1
saga-web-draw/src/SCanvasView.ts

@@ -190,9 +190,9 @@ export class SCanvasView extends SObject {
         /** painter对象 */
         let ctx = this.canvas;
         if (null != ctx && this._needDraw) {
+            this._needDraw = false;
             let painter = new SPainter(this);
             this.onDraw(painter);
-            this._needDraw = false;
         }
         this.requestAnimationFrame(this.loop.bind(this));
     } // Function loop()

+ 1 - 1
saga-web-fengmap/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@saga-web/feng-map",
-    "version": "1.0.4",
+    "version": "1.0.5",
     "description": "上格云Web平面图。",
     "main": "lib/index.js",
     "types": "lib/index.d.js",

+ 2 - 0
saga-web-fengmap/src/parser/SFengParser.ts

@@ -170,6 +170,8 @@ export class SFengParser extends SParser {
         });
         this.fmap.on("loadComplete", () => {
             let obj = {};
+            // 切换至当前楼层才可查询
+            this.fmap.focusGroupID = groupId;
             // 创建搜索分析对象
             let searchAnalyser = new fengmap.FMSearchAnalyser(this.fmap);
             // 创建搜索请求体对象