Merge pull request #13739 from dataease/pr@dev-v2@fix_mobile-setting

fix(仪表板): 修复仪表板移动端设置部分情况无法返回到pc设计问题
This commit is contained in:
王嘉豪
2024-12-02 17:55:10 +08:00
committed by GitHub

View File

@@ -408,21 +408,6 @@ export async function backCanvasData(dvId, mobileViewInfo, busiFlag, callBack) {
if (ele.component === 'VQuery') {
ele.mPropValue = mPropValue
}
if (ele.component === 'DeTabs') {
ele.propValue.forEach(tabItem => {
tabItem.componentData.forEach(tabComponent => {
tabComponent.mx = tabComponent.mx
tabComponent.my = tabComponent.my
tabComponent.mSizeX = tabComponent.mSizeX
tabComponent.mSizeY = tabComponent.mSizeY
tabComponent.mEvents = tEvents
tabComponent.mCommonBackground = tCommonBackground
if (tabComponent.component === 'VQuery') {
tabComponent.mPropValue = tPropValue
}
})
})
}
}
})
Object.keys(mobileViewInfo).forEach(key => {