forked from github/dataease
Merge pull request #4380 from dataease/pr@dev@fix_mobile-enlarge
fix(移动端): 修复移动端点击视图缺少按键问题
This commit is contained in:
commit
12040ebe6d
@ -204,7 +204,7 @@ export default {
|
|||||||
return style
|
return style
|
||||||
},
|
},
|
||||||
componentActiveFlag() {
|
componentActiveFlag() {
|
||||||
return !this.mobileLayoutStatus && ((this.curComponent && this.config.id === this.curComponent.id && !this.previewVisible && !this.showPosition.includes('email-task')) || this.showPosition.includes('multiplexing'))
|
return (!this.mobileLayoutStatus || this.terminal === 'mobile') && ((this.curComponent && this.config.id === this.curComponent.id && !this.previewVisible && !this.showPosition.includes('email-task')) || this.showPosition.includes('multiplexing'))
|
||||||
},
|
},
|
||||||
scale() {
|
scale() {
|
||||||
return Math.min(this.previewCanvasScale.scalePointWidth, this.previewCanvasScale.scalePointHeight)
|
return Math.min(this.previewCanvasScale.scalePointWidth, this.previewCanvasScale.scalePointHeight)
|
||||||
@ -279,7 +279,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
...
|
...
|
||||||
getStyle(style, ['top', 'left', 'width', 'height', 'rotate']),
|
getStyle(style, ['top', 'left', 'width', 'height', 'rotate']),
|
||||||
position: 'relative'
|
position: 'relative'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user