Merge pull request #5493 from dataease/pr@dev@refactor_linkage-selected

refactor(仪表板): 联动设置时,点击仪表板空白区域保持原选中视图的状态
This commit is contained in:
王嘉豪 2023-06-21 08:06:06 +08:00 committed by GitHub
commit e223e2853c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -223,6 +223,7 @@ export default {
'curComponent',
'componentGap',
'isClickComponent',
'linkageSettingStatus',
'pcMatrixCount',
'pcTabMatrixCount',
'dragComponentInfo',
@ -282,7 +283,7 @@ export default {
},
deselectCurComponent(e) {
if (!this.isClickComponent) {
if (!this.isClickComponent && !this.linkageSettingStatus) {
this.$store.commit('setCurComponent', { component: null, index: null })
}

View File

@ -374,7 +374,6 @@ export default {
watch: {
linkageAreaShow: {
handler(val) {
console.log("linkageAreaShow、、、、")
// 1.val 2.!this.linkageInfo.linkageActive
// 3.!this.linkageInfo.sourceViewId
// 4. this.linkageInfo.tableId === this.targetLinkageInfo[this.curLinkageView.propValue.viewId].tableId)