From 360826ef2860c0aadd3241368686f00568b4f772 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 26 Sep 2024 17:21:56 +0800 Subject: [PATCH] 1 --- .../reading/dicoms/components/IVUS/QuestionList.vue | 2 +- .../trials-panel/reading/dicoms/components/OCT/QuestionList.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue index f1a10881..3f831056 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue @@ -722,7 +722,7 @@ export default { span.innerText = column.label document.body.appendChild(span) const w = span.getBoundingClientRect().width - column.minWidth = w > 65 ? w + 10 : w + 30 + column.minWidth = w > 65 ? w + 10 : w > 60 ? w + 15 : w + 20 document.body.removeChild(span) return h('span', column.label) } diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue index 22ff16b6..2ad9bc88 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue @@ -733,7 +733,7 @@ export default { span.innerText = column.label document.body.appendChild(span) const w = span.getBoundingClientRect().width - column.minWidth = w > 65 ? w + 10 : w + 30 + column.minWidth = w > 65 ? w + 10 : w > 60 ? w + 15 : w + 30 document.body.removeChild(span) return h('span', column.label) }