补充项目列表重新分析确认交互

This commit is contained in:
wkc
2026-03-27 14:28:56 +08:00
parent 2c793eaed6
commit 9e0efe8010
2 changed files with 31 additions and 0 deletions

View File

@@ -250,6 +250,16 @@ export default {
if (this.reAnalyzeLoadingMap[projectKey]) {
return
}
try {
await this.$modal.confirm(
`确认对项目“${row.projectName}”重新分析吗?重新分析将重新计算项目标签。`
)
} catch (confirmError) {
if (confirmError === "cancel" || confirmError === "close") {
return
}
throw confirmError
}
this.$set(this.reAnalyzeLoadingMap, projectKey, true)
try {
await rebuildProjectTags({ projectId: row.projectId })