fix: 修复关闭组件自适应后,在手机端查看仪表板,视图字号特别大问题
This commit is contained in:
parent
32632d5a25
commit
d91a55550c
@ -708,8 +708,8 @@ export default {
|
||||
}
|
||||
if (this.isMainCanvas()) {
|
||||
this.$store.commit('setPreviewCanvasScale', {
|
||||
scaleWidth: this.canvasStyleData.autoSizeAdaptor ? (this.scaleWidth / 100) : 1,
|
||||
scaleHeight: this.canvasStyleData.autoSizeAdaptor ? (this.scaleHeight / 100) : 1
|
||||
scaleWidth: (this.canvasStyleData.autoSizeAdaptor || this.terminal === 'mobile') ? (this.scaleWidth / 100) : 1,
|
||||
scaleHeight: (this.canvasStyleData.autoSizeAdaptor || this.terminal === 'mobile') ? (this.scaleHeight / 100) : 1
|
||||
})
|
||||
}
|
||||
this.handleScaleChange()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user