fix(移动端): 修复移动端点击视图缺少按键问题

This commit is contained in:
wangjiahao 2023-01-16 13:42:22 +08:00
parent d76933d6e8
commit 6436e63906

View File

@ -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)