forked from github/dataease
fix(仪表板): 修复悬浮组件移入tab组件可能导致浏览器卡顿问题
This commit is contained in:
parent
483f477fbe
commit
b2fc30bed3
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user