diff --git a/src/views/GroupEvolution/component/groupGraph.vue b/src/views/GroupEvolution/component/groupGraph.vue index 5dd8158..1d003db 100644 --- a/src/views/GroupEvolution/component/groupGraph.vue +++ b/src/views/GroupEvolution/component/groupGraph.vue @@ -294,16 +294,16 @@ const clusterAnalyze = () => { } // 仅对“异常群体模块”生效:时间变化时强制重绘一次 -if (storeId === 'anomalousGroup') { +if (storeId === "anomalousGroup") { watch( () => props.store.currentUtc, () => { // 不改 graph 数据结构,直接用当前 graph 强制走一遍:addGraph → clusterAnalyze → runForceLayout if (graphVis) { - updateChart(toRaw(graph.value)); + updateChart(toRaw(graph.value)) } } - ); + ) } // 实例化 GraphVis、注册自定义绘制/事件