mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
!277 feat: 升级vue3-sketch-ruler到2X
Merge pull request !277 from kakajun/master
This commit is contained in:
@@ -49,9 +49,6 @@ export const useChartLayoutStore = defineStore({
|
||||
},
|
||||
getPercentage(): number {
|
||||
return this.percentage
|
||||
},
|
||||
getRePositionCanvas(): boolean {
|
||||
return this.rePositionCanvas
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
@@ -65,8 +62,6 @@ export const useChartLayoutStore = defineStore({
|
||||
})
|
||||
// 存储本地
|
||||
setLocalStorage(GO_CHART_LAYOUT_STORE, this.$state)
|
||||
// 这里需要标记重置画布位置
|
||||
this.rePositionCanvas = true;
|
||||
// 重新计算拖拽区域缩放比例
|
||||
if (computedScale) {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user