Skip to content

Commit

Permalink
feat: add annotate in image dataset scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
honelone committed Jan 2, 2024
1 parent 6395339 commit 085f243
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="openBtn">
<Button type="primary" block border @click.stop="handleOpen"> Open </Button>
</div>
<div class="openBtn" v-if="info?.type != datasetTypeEnum.IMAGE">
<div class="openBtn">
<Button
type="primary"
block
Expand All @@ -41,7 +41,7 @@
View
</Button>
</div>
<div class="openBtn" v-if="info?.type != datasetTypeEnum.IMAGE">
<div class="openBtn">
<Button
type="primary"
block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,12 @@
}) && data.length > 1;
if (props.datasetType == datasetTypeEnum.IMAGE) {
annotateActionFlag.value = data.some((item) => {
return item.type == dataTypeEnum.FRAME_SERIES;
});
modelRunActionFlag.value = data.some((item) => {
return item.type == dataTypeEnum.FRAME_SERIES;
});
// annotateActionFlag.value = data.some((item) => {
// return item.type == dataTypeEnum.FRAME_SERIES;
// });
// modelRunActionFlag.value = data.some((item) => {
// return item.type == dataTypeEnum.FRAME_SERIES;
// });
}
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/main/src/views/datasets/datasetContent/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@
dataIds: [dataId],
operateItemType: dataTypeEnum.FRAME_SERIES,
});
goToTool({ recordId: res });
goToTool({ recordId: res }, info.value?.type);
// window.location.reload();
};
// Open Frame
Expand Down

0 comments on commit 085f243

Please sign in to comment.