Merge pull request #8819 from dataease/pr@dev@fix_panel
Pr@dev@fix panel
This commit is contained in:
commit
83d70485d3
@ -84,6 +84,7 @@
|
||||
:panel-info="panelInfo"
|
||||
:in-screen="inScreen"
|
||||
:show-position="showPosition"
|
||||
:user-id="userId"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -280,6 +281,10 @@ export default {
|
||||
terminal: {
|
||||
type: String,
|
||||
default: 'pc'
|
||||
},
|
||||
userId: {
|
||||
type: String,
|
||||
require: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
||||
@ -662,7 +662,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
// 切换展示页面后 重新点击一下当前节点
|
||||
'$store.panel.mainActiveName': function(newVal, oldVal) {
|
||||
'$store.state.panel.mainActiveName': function(newVal, oldVal) {
|
||||
if (newVal === 'PanelMain' && this.lastActiveNodeData) {
|
||||
this.activeNodeAndClickOnly(this.lastActiveNodeData)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user