瀏覽代碼

Merge branch 'master' of http://192.168.0.115:3000/4dkankan/laser_v1

xushiting 4 年之前
父節點
當前提交
5e7583f2cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      locat/components/image-transform/index.js

+ 1 - 1
locat/components/image-transform/index.js

@@ -471,8 +471,8 @@
                             if (this.imgCanvas) {
                                 ctx = this.imgCanvas.getContext('2d')
                                 ctx.clearRect(-10000, -10000, 10000, 10000)
+                                this.imgCanvas.imageLayer.refresh()
                             }
-                            this.imgCanvas.imageLayer.refresh()
                             await this.drawCanvas(imagesArray, [], {
                                 lat: this.lat,
                                 lon: this.lon