警告修改

This commit is contained in:
qumeng039@126.com 2025-08-01 17:02:46 +08:00
parent 5e017bbb15
commit 9ff920b4b4
2 changed files with 5 additions and 5 deletions

View File

@ -199,7 +199,7 @@ export const useCharacterInteractionStore = defineStore("characterInteraction",
})) }))
this.communityDetailNodeRelation = res.data.userRelation this.communityDetailNodeRelation = res.data.userRelation
this.communityDetailNodeList = res.data.userList this.communityDetailNodeList = res.data.userList
this.timeList = res.data.timeList this.timeList = Array.from(new Set(res.data.timeList))
this.predictionUserIds = res.data.predictNodes this.predictionUserIds = res.data.predictNodes
}, },
//初始化社团统计数据 //初始化社团统计数据
@ -678,7 +678,7 @@ export const useCharacterHiddenStore = defineStore("characterHidden", {
})) }))
this.communityDetailNodeRelation = res.data.userRelation this.communityDetailNodeRelation = res.data.userRelation
this.communityDetailNodeList = res.data.userList this.communityDetailNodeList = res.data.userList
this.timeList = res.data.timeList this.timeList = Array.from(new Set(res.data.timeList))
this.predictionUserIds = res.data.predictNodes this.predictionUserIds = res.data.predictNodes
} }
}, },

View File

@ -287,10 +287,10 @@ onUnmounted(() => {
}) })
let chart = null let chart = null
const initChart = async () => { const initChart = async () => {
chart = echarts.init(document.getElementById("container")) if (chart == null) {
chart = echarts.init(document.getElementById("container"))
}
const links = [] const links = []
let nodes = [] let nodes = []
const edgeWidth = (interactionTime) => { const edgeWidth = (interactionTime) => {