From 77dc4160e105441e847aa9f0dc105d8bf5f2997f Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 10 Apr 2024 18:48:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dtab=E7=BB=84=E4=BB=B6=E5=B8=83=E5=B1=80=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/mobile/panel/index.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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)