解决冲突
This commit is contained in:
commit
d2d42d7636
|
|
@ -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、注册自定义绘制/事件
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user