Merge pull request #2693 from dataease/pr@dev@fix_panel-view-enlarge

fix(视图): 修复预览仪表板时未点击视图未显示放大按钮
This commit is contained in:
王嘉豪 2022-07-26 10:09:29 +08:00 committed by GitHub
commit e473f0d631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ export default {
return style return style
}, },
componentActiveFlag() { componentActiveFlag() {
return (this.curComponent && this.config === this.curComponent && !this.previewVisible && this.showPosition.includes('multiplexing') && !this.showPosition.includes('email-task')) || this.showPosition.includes('multiplexing') return (this.curComponent && this.config === this.curComponent && !this.previewVisible && !this.showPosition.includes('email-task')) || this.showPosition.includes('multiplexing')
}, },
curGap() { curGap() {
return (this.canvasStyleData.panel.gap === 'yes' && this.config.auxiliaryMatrix) ? this.componentGap : 0 return (this.canvasStyleData.panel.gap === 'yes' && this.config.auxiliaryMatrix) ? this.componentGap : 0