From b2fc30bed395ca72fc12beb50c5ff9012aa270b0 Mon Sep 17 00:00:00 2001 From: Wangjiahao <1522128093@qq.com> Date: Thu, 25 May 2023 13:22:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=82=AC=E6=B5=AE=E7=BB=84=E4=BB=B6=E7=A7=BB=E5=85=A5?= =?UTF-8?q?tab=E7=BB=84=E4=BB=B6=E5=8F=AF=E8=83=BD=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/map/map.js | 6 +++--- frontend/src/components/deDrag/index.vue | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/api/map/map.js b/frontend/src/api/map/map.js index 6d79a3cfbb..bbc8a2f83b 100644 --- a/frontend/src/api/map/map.js +++ b/frontend/src/api/map/map.js @@ -4,7 +4,7 @@ export const areaMapping = () => { return request({ url: '/api/map/globalEntitys/0', method: 'get', - loading: true + loading: false }) } @@ -12,7 +12,7 @@ export const globalMapping = () => { return request({ url: '/api/map/globalEntitys/0', method: 'get', - loading: true + loading: false }) } @@ -21,7 +21,7 @@ export function geoJson(areaCode) { return request({ url: '/geo/full/' + countryCode + '/' + areaCode + '_full.json', method: 'get', - loading: true + loading: false }) } diff --git a/frontend/src/components/deDrag/index.vue b/frontend/src/components/deDrag/index.vue index 47b96e2c9c..9b5a2d2d5d 100644 --- a/frontend/src/components/deDrag/index.vue +++ b/frontend/src/components/deDrag/index.vue @@ -1544,8 +1544,6 @@ export default { } else { this.element.style.left = 0 this.element.style.top = 0 - this.element.style.width = this.element.style.width * this.curCanvasScaleSelf.matrixStyleWidth / targetCanvasScale.matrixStyleWidth - this.element.style.height = this.element.style.height * this.curCanvasScaleSelf.matrixStyleHeight / targetCanvasScale.matrixStyleHeight } this.element.canvasId = targetCanvasId }