{{ $t('trials:reading:Segmentations:button:renameSegmentGroup') }}
@@ -352,7 +354,8 @@ export default {
drawing: false, // 是否正在分割
isDel: false,
digitPlaces: 2,
- isloaded: false
+ isloaded: false,
+ popoverId: null
}
},
mounted() {
@@ -376,6 +379,9 @@ export default {
})
const digitPlaces = Number(localStorage.getItem('digitPlaces'))
this.digitPlaces = digitPlaces === -1 ? this.digitPlaces : digitPlaces
+ // document.addEventListener("click", () => {
+ // this.popoverId = null
+ // });
},
computed: {
curSegmentGroup() {
@@ -411,6 +417,9 @@ export default {
}
},
methods: {
+ handleClickPopover(item) {
+ this.popoverId = `popover-${item.segmentationId}_${item.segmentIndex}`
+ },
initThreshold() {
if (!this.ThresholdTools.includes(this.activeTool)) {
this.setToolActive(this.ThresholdTools[0])