Merge pull request #1960 from dataease/pr@dev@fix_filter_component

fix: 过滤组件无法弹出编辑
This commit is contained in:
fit2cloud-chenyw
2022-03-23 17:10:31 +08:00
committed by GitHub

View File

@@ -201,7 +201,11 @@ export default {
// }
// },
edit() {
bus.$emit('change_panel_right_draw', true)
if (this.curComponent.type === 'custom') {
bus.$emit('component-dialog-edit')
} else if (this.curComponent.type === 'v-text' || this.curComponent.type === 'rect-shape') {
bus.$emit('component-dialog-style')
} else { bus.$emit('change_panel_right_draw', true) }
},
linkageEdit() {