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 }