删除标记时接口判断标记与问题是否有绑定关系
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-07-17 15:31:06 +08:00
parent 76e41f4d5f
commit 3d0a3116e1
1 changed files with 4 additions and 2 deletions

View File

@ -1657,11 +1657,13 @@ export default {
annotation.data.label +
'?'
)
let res = null
if (annotation.markId) {
deleteCustomTag(annotation.markId)
res = await deleteCustomTag(annotation.markId)
}else if (annotation.id) {
deleteCustomTag(annotation.id)
res = await deleteCustomTag(annotation.id)
}
if (!res.isSuccess) return false
}
const index = this.markedSeriesIds.indexOf(annotation.seriesId)
if (index !== -1) {