补充项目列表重新分析确认交互
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user