Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5f1c9072eb
commit
d1b47e268e
2 files changed
+4
-2
No files matched your search
@@ -91,7 +91,8 @@ async function load() {
|
|||||||
await renderFlowchart(graph.value, res.mermaidCode)
|
await renderFlowchart(graph.value, res.mermaidCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(() => [props.row.id, props.row.status, props.row.showLink] as const, load, {
|
// 分开写三个来源:列表每次轮询都换一批新的行对象,一个 getter 返回数组的话回调次次都跑
|
||||||
|
watch([() => props.row.id, () => props.row.status, () => props.row.showLink], load, {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,8 @@ async function load() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(() => [props.row.id, props.row.result, props.row.showLink] as const, load, {
|
// 分开写三个来源:列表每次轮询都换一批新的行对象,一个 getter 返回数组的话回调次次都跑
|
||||||
|
watch([() => props.row.id, () => props.row.result, () => props.row.showLink], load, {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user