From 9e11d0270f01e4ebab942bdc5bff397048637ebf Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Wed, 16 Aug 2023 14:15:30 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E8=8E=B7=E5=8F=96=E4=B8=BAnull=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=BD=BF=E7=94=A8forEach=E5=87=BA=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=8E=9F=E7=94=9F=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8.native=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/BigScreenDesign/LeftPanel.vue | 7 ++----- .../packages/RemoteComponents/remoteComponentsList.js | 2 +- data-room-ui/packages/js/store/actions.js | 1 - 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/data-room-ui/packages/BigScreenDesign/LeftPanel.vue b/data-room-ui/packages/BigScreenDesign/LeftPanel.vue index 6dfbdb09..e9240b9e 100644 --- a/data-room-ui/packages/BigScreenDesign/LeftPanel.vue +++ b/data-room-ui/packages/BigScreenDesign/LeftPanel.vue @@ -42,7 +42,7 @@ slot="label" class="menu-slot" name="layer" - @dbclick.native="toggleSidebar" + @dbclick="toggleSidebar" >
{ diff --git a/data-room-ui/packages/js/store/actions.js b/data-room-ui/packages/js/store/actions.js index ae1c8af6..b1c69ed6 100644 --- a/data-room-ui/packages/js/store/actions.js +++ b/data-room-ui/packages/js/store/actions.js @@ -6,7 +6,6 @@ import { getScreenInfo, getDataSetDetails, getDataByDataSetId } from '../api/big import { stringToFunction } from '../utils/evalFunctions' import { EventBus } from '../utils/eventBus' import plotList from 'data-room-ui/G2Plots/plotList' -// import innerRemoteComponents, { getRemoteComponents } from 'data-room-ui/RemoteComponents/remoteComponentsList' export default { // 初始化页面数据 initLayout ({ commit, dispatch }, code) { From 1b7a71304708cf8b1307597e7188c4324ef08326 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Wed, 16 Aug 2023 14:16:28 +0800 Subject: [PATCH 2/4] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-room-ui/package.json b/data-room-ui/package.json index 67b186a6..2cec017c 100644 --- a/data-room-ui/package.json +++ b/data-room-ui/package.json @@ -1,6 +1,6 @@ { "name": "@gcpaas/data-room-ui", - "version": "1.0.1-2023081502-Alpha", + "version": "1.0.1-2023081601-Alpha", "description": "自定义大屏", "author": "gcpaas", "license": "MIT", From 60771652ad8db8e614ae35be16dc8a83e68c8604 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Wed, 16 Aug 2023 14:33:13 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E4=BD=BF=E7=94=A8.native=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/BigScreenDesign/LeftPanel.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/data-room-ui/packages/BigScreenDesign/LeftPanel.vue b/data-room-ui/packages/BigScreenDesign/LeftPanel.vue index e9240b9e..376745ad 100644 --- a/data-room-ui/packages/BigScreenDesign/LeftPanel.vue +++ b/data-room-ui/packages/BigScreenDesign/LeftPanel.vue @@ -67,12 +67,15 @@ v-for="menu in menuList" :key="menu.id" :name="menu.name" - @click.stop="fold = false, changeActiveCode('')" + @click.stop.native=" + fold = false + changeActiveCode('') + " >