bug修改
This commit is contained in:
parent
e87927785d
commit
2c307296ff
|
|
@ -248,6 +248,7 @@ const handlePointPointerDown = (e) => {
|
||||||
const handlePointerUp = () => {
|
const handlePointerUp = () => {
|
||||||
isDragging.value = false
|
isDragging.value = false
|
||||||
// 拖动结束时输出当前时间
|
// 拖动结束时输出当前时间
|
||||||
|
pause() // 拖动或点击时暂停自动播放
|
||||||
const currentTimes = TansTimestamp(currentTime.value, "YYYY-MM-DD HH:mm:ss")
|
const currentTimes = TansTimestamp(currentTime.value, "YYYY-MM-DD HH:mm:ss")
|
||||||
if (props.interactionStore.curRelationId == "") {
|
if (props.interactionStore.curRelationId == "") {
|
||||||
props.interactionStore.initGraphCommunityDetailNode(
|
props.interactionStore.initGraphCommunityDetailNode(
|
||||||
|
|
@ -307,7 +308,9 @@ const initChart = async () => {
|
||||||
name: item.userName,
|
name: item.userName,
|
||||||
// 头像
|
// 头像
|
||||||
avatarData: item.avatarData,
|
avatarData: item.avatarData,
|
||||||
|
//默认圆形头像
|
||||||
defaultAvatar: getAvatarUrl(item.defaultAvatar),
|
defaultAvatar: getAvatarUrl(item.defaultAvatar),
|
||||||
|
//激活状态的头像
|
||||||
activeAvatar: getAvatarUrl(item.activeAvatar),
|
activeAvatar: getAvatarUrl(item.activeAvatar),
|
||||||
symbolSize: 40,
|
symbolSize: 40,
|
||||||
postNum: item.postNum,
|
postNum: item.postNum,
|
||||||
|
|
|
||||||
|
|
@ -271,7 +271,7 @@ const initChart = async () => {
|
||||||
focus: "adjacency", // 高亮相邻节点
|
focus: "adjacency", // 高亮相邻节点
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
// 高亮时线条样式
|
// 高亮时线条样式
|
||||||
width: 10 // 线条宽度(10)
|
width: 5 // 线条宽度(10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user