删除标记的时候 有markid的时候 传markid 没markid的时候 传id
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
8c40241658
commit
13cfcb0935
|
@ -1055,6 +1055,7 @@ export default {
|
|||
i.MeasureData = JSON.parse(i.MeasureData)
|
||||
if (this.criterionType === 0) {
|
||||
i.MeasureData.id = i.Id
|
||||
i.MeasureData.markId = i.MarkId
|
||||
}
|
||||
annotationUIDs.push(i.MeasureData.annotationUID)
|
||||
}
|
||||
|
@ -1589,6 +1590,7 @@ export default {
|
|||
params.MarkId = annotation.annotationUID
|
||||
const res = await submitCustomTag(params)
|
||||
annotation.id = res.Result
|
||||
annotation.markId = params.MarkId
|
||||
})
|
||||
|
||||
} catch (e) {
|
||||
|
@ -1655,8 +1657,8 @@ export default {
|
|||
annotation.data.label +
|
||||
'?'
|
||||
)
|
||||
if (annotation.annotationUID) {
|
||||
deleteCustomTag(annotation.annotationUID)
|
||||
if (annotation.markId) {
|
||||
deleteCustomTag(annotation.markId)
|
||||
}else if (annotation.id) {
|
||||
deleteCustomTag(annotation.id)
|
||||
}
|
||||
|
@ -1727,6 +1729,7 @@ export default {
|
|||
i.MeasureData = JSON.parse(i.MeasureData)
|
||||
if (this.criterionType === 0) {
|
||||
i.MeasureData.id = i.Id
|
||||
i.MeasureData.markId = i.MarkId
|
||||
}
|
||||
annotationUIDs.push(i.MeasureData.annotationUID)
|
||||
}
|
||||
|
@ -1752,6 +1755,7 @@ export default {
|
|||
i.MeasureData = JSON.parse(i.MeasureData)
|
||||
if (this.criterionType === 0) {
|
||||
i.MeasureData.id = i.Id
|
||||
i.MeasureData.markId = i.MarkId
|
||||
}
|
||||
}
|
||||
return i
|
||||
|
|
Loading…
Reference in New Issue