From ac7d97c6bdce5b2567b503f2f954edc952d7e0cf Mon Sep 17 00:00:00 2001 From: duanhao Date: Fri, 15 Aug 2025 15:52:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8B=89=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/authentication/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/store/authentication/index.js b/src/store/authentication/index.js index bcb3aef..de81e19 100644 --- a/src/store/authentication/index.js +++ b/src/store/authentication/index.js @@ -22,7 +22,6 @@ export const useLoginStore = defineStore("loginStore", { async loginForRefreshToken() { const res = await refreshToken() - console.log(res) if (res.code == 200) { this.setToken(res.data.accessToken) return true // 刷新成功 From 7fe401b8dfd4ac2c0cf7b157f23d659570ba1ba6 Mon Sep 17 00:00:00 2001 From: duanhao Date: Fri, 15 Aug 2025 16:11:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=A1=A5=E6=A2=81=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bridgeCommunication/components/GraphPanel.vue | 14 +++++++++++++- .../KeyNodeDiscern/bridgeCommunication/index.vue | 10 +++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/KeyNodeDiscern/bridgeCommunication/components/GraphPanel.vue b/src/views/KeyNodeDiscern/bridgeCommunication/components/GraphPanel.vue index 7bf6c8c..852e1c1 100644 --- a/src/views/KeyNodeDiscern/bridgeCommunication/components/GraphPanel.vue +++ b/src/views/KeyNodeDiscern/bridgeCommunication/components/GraphPanel.vue @@ -25,7 +25,7 @@ :key="point.id" class="timeline-point-wrapper" :style="{ left: `${pointPositions[point.id]}%` }" - @click="store.setActiveTimePoint(point.id)" + @click="handleTimePointClick(point.id)" > { }) defineExpose({ highlightNode }) +// 添加时间点点击事件处理函数 +const handleTimePointClick = (pointId) => { + // 停止自动播放 + props.stopAutomaticPlay() + // 设置当前激活的时间点 + store.setActiveTimePoint(pointId) +}