diff --git a/core/frontend/src/components/widget/deWidget/DeTabs.vue b/core/frontend/src/components/widget/deWidget/DeTabs.vue index 9a0cf50930..f5c229b55b 100644 --- a/core/frontend/src/components/widget/deWidget/DeTabs.vue +++ b/core/frontend/src/components/widget/deWidget/DeTabs.vue @@ -84,6 +84,7 @@ :panel-info="panelInfo" :in-screen="inScreen" :show-position="showPosition" + :user-id="userId" /> @@ -280,6 +281,10 @@ export default { terminal: { type: String, default: 'pc' + }, + userId: { + type: String, + require: false } }, data() { diff --git a/core/frontend/src/views/panel/list/PanelList.vue b/core/frontend/src/views/panel/list/PanelList.vue index 92667cdf75..4d29aeabb3 100644 --- a/core/frontend/src/views/panel/list/PanelList.vue +++ b/core/frontend/src/views/panel/list/PanelList.vue @@ -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) }