diff --git a/core/core-frontend/src/views/mobile/panel/index.vue b/core/core-frontend/src/views/mobile/panel/index.vue index 6acb1134a0..d47b72e70a 100644 --- a/core/core-frontend/src/views/mobile/panel/index.vue +++ b/core/core-frontend/src/views/mobile/panel/index.vue @@ -25,6 +25,18 @@ const hanedleMessage = event => { ele.y = my ele.sizeX = mSizeX ele.sizeY = mSizeY + + if (ele.component === 'DeTabs') { + ele.propValue.forEach(tabItem => { + tabItem.componentData.forEach(tabComponent => { + const { mx: tx, my: ty, mSizeX: tSizeX, mSizeY: tSizeY } = tabComponent + tabComponent.x = tx + tabComponent.y = ty + tabComponent.sizeX = tSizeX + tabComponent.sizeY = tSizeY + }) + }) + } }) dvMainStore.setComponentData(componentData) dvMainStore.setMobileInPc(true)