forked from github/dataease
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
7f213a85f0
@ -3,7 +3,9 @@ export const BASE_MOBILE_STYLE = {
|
||||
style: {
|
||||
width: 1600,
|
||||
height: 300,
|
||||
borderRadius: 5
|
||||
left: 0,
|
||||
top: 0,
|
||||
borderRadius: 3
|
||||
},
|
||||
x: 1,
|
||||
y: 1,
|
||||
|
@ -351,7 +351,11 @@ const data = {
|
||||
// 移动端布局转换
|
||||
state.componentData.forEach(item => {
|
||||
if (item.mobileSelected) {
|
||||
item.style = item.mobileStyle.style
|
||||
item.style.width = item.mobileStyle.style.width
|
||||
item.style.height = item.mobileStyle.style.height
|
||||
item.style.top = item.mobileStyle.style.top
|
||||
item.style.left = item.mobileStyle.style.left
|
||||
item.style.borderRadius = 3
|
||||
item.x = item.mobileStyle.x
|
||||
item.y = item.mobileStyle.y
|
||||
item.sizex = item.mobileStyle.sizex
|
||||
|
Loading…
Reference in New Issue
Block a user