mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 去掉多余代码
This commit is contained in:
@@ -928,8 +928,6 @@ export const useChartEditStore = defineStore({
|
||||
const scaleHeight = parseFloat((width / baseProportion / editCanvasHeight).toFixed(5))
|
||||
this.setScale(scaleHeight > 1 ? 1 : scaleHeight)
|
||||
}
|
||||
|
||||
window.onCanvsSizecomputed?.()
|
||||
} else {
|
||||
window['$message'].warning('请先创建画布,再进行缩放')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user