From efb162567502b462b4900a0330dddd60426fb85d Mon Sep 17 00:00:00 2001 From: duorameng <2997944583@qq.com> Date: Thu, 21 May 2026 15:04:09 +0800 Subject: [PATCH] feat: disable popup dialog when clicking command on execution history page --- web/src/components/TextOverflow.vue | 12 +++++++++--- web/src/views/history/History.vue | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/web/src/components/TextOverflow.vue b/web/src/components/TextOverflow.vue index 0087002..317eb03 100644 --- a/web/src/components/TextOverflow.vue +++ b/web/src/components/TextOverflow.vue @@ -6,15 +6,18 @@ const props = withDefaults( defineProps<{ text: string title?: string + disableDialog?: boolean }>(), { - title: '详情' + title: '详情', + disableDialog: false } ) const showDialog = ref(false) function handleClick() { + if (props.disableDialog) return if (props.text && props.text !== '-') { showDialog.value = true } @@ -22,8 +25,11 @@ function handleClick() {