防止内存泄漏
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-04-29 17:35:25 +08:00
parent e245057bb2
commit 728f3238ca
1 changed files with 7 additions and 2 deletions

View File

@ -127,7 +127,7 @@
</el-switch> </el-switch>
<span style="margin-left: 5px;">{{ <span style="margin-left: 5px;">{{
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow') $t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
}}</span> }}</span>
</div> </div>
</div> </div>
<template v-if="segmentList.length > 0"> <template v-if="segmentList.length > 0">
@ -1968,7 +1968,12 @@ export default {
return rgbToHex(rgb.r, rgb.g, rgb.b); return rgbToHex(rgb.r, rgb.g, rgb.b);
} }
}, },
destroyed() {
if (this.timer) {
clearInterval(this.timer)
this.timer = null
}
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>