From 2c307296ff8cf8ece683ed23709ab0e64a4ce003 Mon Sep 17 00:00:00 2001 From: "qumeng039@126.com" <86925389+qumen@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:12:39 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/LinkPrediction/components/detailNode.vue | 3 +++ src/views/keyNodeRecognition3/components/communityNode.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/LinkPrediction/components/detailNode.vue b/src/views/LinkPrediction/components/detailNode.vue index c86cc14..7596d55 100644 --- a/src/views/LinkPrediction/components/detailNode.vue +++ b/src/views/LinkPrediction/components/detailNode.vue @@ -248,6 +248,7 @@ const handlePointPointerDown = (e) => { const handlePointerUp = () => { isDragging.value = false // 拖动结束时输出当前时间 + pause() // 拖动或点击时暂停自动播放 const currentTimes = TansTimestamp(currentTime.value, "YYYY-MM-DD HH:mm:ss") if (props.interactionStore.curRelationId == "") { props.interactionStore.initGraphCommunityDetailNode( @@ -307,7 +308,9 @@ const initChart = async () => { name: item.userName, // 头像 avatarData: item.avatarData, + //默认圆形头像 defaultAvatar: getAvatarUrl(item.defaultAvatar), + //激活状态的头像 activeAvatar: getAvatarUrl(item.activeAvatar), symbolSize: 40, postNum: item.postNum, diff --git a/src/views/keyNodeRecognition3/components/communityNode.vue b/src/views/keyNodeRecognition3/components/communityNode.vue index 1dfcb40..8dab593 100644 --- a/src/views/keyNodeRecognition3/components/communityNode.vue +++ b/src/views/keyNodeRecognition3/components/communityNode.vue @@ -271,7 +271,7 @@ const initChart = async () => { focus: "adjacency", // 高亮相邻节点 lineStyle: { // 高亮时线条样式 - width: 10 // 线条宽度(10) + width: 5 // 线条宽度(10) } } }