refactor(仪表板): 联动设置时,点击仪表板空白区域保持原选中视图的状态
This commit is contained in:
parent
3f902ce5ac
commit
a2637e3cfd
@ -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 })
|
||||
}
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user