|
@@ -532,17 +532,15 @@ if (useMarkResult) {
|
|
|
|
|
|
// 清除特殊标记轨迹
|
|
|
watchEffect(() => {
|
|
|
- for (const track of store.currentMarkResult?.specialTagList || []) {
|
|
|
- for (const sliceImage of sliceImagesWithTrackList) {
|
|
|
- sliceImage.tagList = sliceImage.tagList.filter((t) =>
|
|
|
- store.currentMarkResult?.specialTagList.find(
|
|
|
- (st) =>
|
|
|
- st.offsetIndex === t.offsetIndex &&
|
|
|
- st.offsetX === t.offsetX &&
|
|
|
- st.offsetY === t.offsetY
|
|
|
- )
|
|
|
- );
|
|
|
- }
|
|
|
+ for (const sliceImage of sliceImagesWithTrackList) {
|
|
|
+ sliceImage.tagList = sliceImage.tagList.filter((t) =>
|
|
|
+ store.currentMarkResult?.specialTagList.find(
|
|
|
+ (st) =>
|
|
|
+ st.offsetIndex === t.offsetIndex &&
|
|
|
+ st.offsetX === t.offsetX &&
|
|
|
+ st.offsetY === t.offsetY
|
|
|
+ )
|
|
|
+ );
|
|
|
}
|
|
|
if (store.currentMarkResult?.specialTagList.length === 0) {
|
|
|
for (const sliceImage of sliceImagesWithTrackList) {
|