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"
|
:panel-info="panelInfo"
|
||||||
:in-screen="inScreen"
|
:in-screen="inScreen"
|
||||||
:show-position="showPosition"
|
:show-position="showPosition"
|
||||||
|
:user-id="userId"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -280,6 +281,10 @@ export default {
|
|||||||
terminal: {
|
terminal: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'pc'
|
default: 'pc'
|
||||||
|
},
|
||||||
|
userId: {
|
||||||
|
type: String,
|
||||||
|
require: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -662,7 +662,7 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
// 切换展示页面后 重新点击一下当前节点
|
// 切换展示页面后 重新点击一下当前节点
|
||||||
'$store.panel.mainActiveName': function(newVal, oldVal) {
|
'$store.state.panel.mainActiveName': function(newVal, oldVal) {
|
||||||
if (newVal === 'PanelMain' && this.lastActiveNodeData) {
|
if (newVal === 'PanelMain' && this.lastActiveNodeData) {
|
||||||
this.activeNodeAndClickOnly(this.lastActiveNodeData)
|
this.activeNodeAndClickOnly(this.lastActiveNodeData)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user