forked from github/dataease
fix(仪表板): 修复将明细表添加进tab组件预览界面显示图表不全问题
This commit is contained in:
parent
5e843df8d9
commit
8f973dea60
@ -846,6 +846,10 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
const maxWidth = this.canvasStyleData.width * this.scaleWidth / 100
|
||||
if (component.style['width'] > maxWidth) {
|
||||
component.style['width'] = maxWidth
|
||||
}
|
||||
})
|
||||
this.componentDataShow = componentData
|
||||
this.$nextTick(() => (eventBus.$emit('resizing', '')))
|
||||
|
Loading…
Reference in New Issue
Block a user