forked from github/dataease
Merge pull request #13023 from dataease/pr@dev-v2@refact_mobile
fix(仪表板): 修复部分组件移动端编辑时不显示问题
This commit is contained in:
commit
9343415b24
@ -59,11 +59,10 @@ const handleLoad = () => {
|
|||||||
// 移动端初始化话
|
// 移动端初始化话
|
||||||
if (!!mobileViewInfo) {
|
if (!!mobileViewInfo) {
|
||||||
Object.keys(mobileViewInfo).forEach(key => {
|
Object.keys(mobileViewInfo).forEach(key => {
|
||||||
const { customAttrMobile, customStyleMobile } = canvasViewInfo.value[key]
|
const { customAttrMobile, customStyleMobile, customAttr, customStyle } =
|
||||||
mobileViewInfo[key]['customAttr'] =
|
canvasViewInfo.value[key]
|
||||||
customAttrMobile || canvasViewInfo.value[key]['customAttrMobile']
|
mobileViewInfo[key]['customAttr'] = customAttrMobile || customAttr
|
||||||
mobileViewInfo[key]['customStyle'] =
|
mobileViewInfo[key]['customStyle'] = customStyleMobile || customStyle
|
||||||
customStyleMobile || canvasViewInfo.value[key]['customStyleMobile']
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
canvasViewInfoMobile.value = mobileViewInfo
|
canvasViewInfoMobile.value = mobileViewInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user