修改完毕
This commit is contained in:
parent
e1b9c4dbe6
commit
0763252ca6
|
|
@ -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)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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") {
|
||||||
//点击连线获取交互次数
|
//点击连线获取交互次数
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user