修改完毕

This commit is contained in:
qumeng039@126.com 2025-08-28 16:36:05 +08:00
parent e1b9c4dbe6
commit 0763252ca6
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ const handleGoback = () => {
const handleClickNodeOrLink = () => { const handleClickNodeOrLink = () => {
chart.on("click", async function (params) { chart.on("click", async function (params) {
if (params.dataType == "node" && predictionUserIds.value.includes(params.data.id)) { if (params.dataType == "node") {
// //
emit("click:openDialog", params.data) emit("click:openDialog", params.data)
} else if (params.dataType == "edge") { } else if (params.dataType == "edge") {
@ -372,7 +372,7 @@ const highLightUserNodes = (userIds) => {
borderColor: "#46C6AD", borderColor: "#46C6AD",
borderWidth: 1, borderWidth: 1,
shadowBlur: 4, shadowBlur: 4,
borderType: "dashed", borderType: "solid",
shadowColor: "rgba(19, 27, 114, 0.25)" shadowColor: "rgba(19, 27, 114, 0.25)"
} }
} }

View File

@ -603,7 +603,7 @@ const highLightUserNodes = (newHiglightUserIdList) => {
borderColor: "#46C6AD", borderColor: "#46C6AD",
borderWidth: 1, borderWidth: 1,
shadowBlur: 4, shadowBlur: 4,
borderType: "dashed", borderType: "solid",
shadowColor: "rgba(19, 27, 114, 0.25)" shadowColor: "rgba(19, 27, 114, 0.25)"
} }
} }
@ -619,7 +619,7 @@ const highLightUserNodes = (newHiglightUserIdList) => {
const handleClickNodeOrLink = async () => { const handleClickNodeOrLink = async () => {
chart.on("click", async function (params) { chart.on("click", async function (params) {
if (params.dataType == "node" && curHighlightUserIdList.value.includes(params.data.id)) { if (params.dataType == "node") {
emit("click:openDialog", params.data) emit("click:openDialog", params.data)
} else if (params.dataType == "edge") { } else if (params.dataType == "edge") {
//线 //线