From 72ad660a39b92e54401a7b9c6c0943ffcd6af946 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 26 May 2022 11:47:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=8D=E7=94=A8=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E9=A2=84=E8=A7=88=E8=A7=86=E5=9B=BE=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/panel/ViewSelect/multiplexing.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/panel/ViewSelect/multiplexing.vue b/frontend/src/views/panel/ViewSelect/multiplexing.vue index 93b2dc8ec8..b4e2f097ec 100644 --- a/frontend/src/views/panel/ViewSelect/multiplexing.vue +++ b/frontend/src/views/panel/ViewSelect/multiplexing.vue @@ -67,7 +67,7 @@ export default { showDetails(params) { this.$store.commit('initCurMultiplexingComponents') const _this = this - _this.selectedPanel = params + _this.selectedPanel = null if (params.showType === 'panel') { _this.showPosition = 'multiplexing' _this.panelLoading = true @@ -76,6 +76,7 @@ export default { panelDataPrepare(JSON.parse(response.data.panelData), JSON.parse(response.data.panelStyle), function(rsp) { _this.componentData = rsp.componentData _this.canvasStyleData = rsp.componentStyle + _this.selectedPanel = params }) }) } else if (params.showType === 'view') { @@ -95,6 +96,7 @@ export default { } _this.$nextTick(() => { _this.componentData.push(userView) + _this.selectedPanel = params }) } }