警告修改
This commit is contained in:
parent
5e017bbb15
commit
9ff920b4b4
|
|
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user