forked from github/dataease
Merge pull request #3922 from dataease/pr@dev@fix_mobile-tab
fix(仪表板): 修复部分Tab页面内容不显示问题
This commit is contained in:
commit
5d0786175b
@ -569,7 +569,7 @@ const data = {
|
||||
// 移动端布局转换
|
||||
state.componentData.forEach(item => {
|
||||
item.mobileStyle = (item.mobileStyle || BASE_MOBILE_STYLE)
|
||||
if (item.mobileSelected) {
|
||||
if (item.mobileSelected || item.canvasId !== 'canvas-main') {
|
||||
item.style.width = item.mobileStyle.style.width
|
||||
item.style.height = item.mobileStyle.style.height
|
||||
item.style.top = item.mobileStyle.style.top
|
||||
|
Loading…
Reference in New Issue
Block a user