From 19469508f7502daece5b418d94cdd27c754e616d Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Tue, 18 Feb 2025 15:22:33 +0800 Subject: [PATCH] Fixed: PR-BT --- src/views/ops/Execution/index.vue | 2 +- src/views/sessions/SessionList/BaseList.vue | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/ops/Execution/index.vue b/src/views/ops/Execution/index.vue index 57012a8bc..dab9969fa 100644 --- a/src/views/ops/Execution/index.vue +++ b/src/views/ops/Execution/index.vue @@ -76,7 +76,7 @@ export default { } }, actions: { - width: '120px', + width: '130px', formatterArgs: { hasUpdate: false, hasDelete: false, diff --git a/src/views/sessions/SessionList/BaseList.vue b/src/views/sessions/SessionList/BaseList.vue index 535076a5c..3aa26eefc 100644 --- a/src/views/sessions/SessionList/BaseList.vue +++ b/src/views/sessions/SessionList/BaseList.vue @@ -136,7 +136,7 @@ export default { actions: { prop: 'actions', label: this.$t('Actions'), - width: '130px', + width: this.dynamicActionWidth, formatter: ActionsFormatter, formatterArgs: { hasEdit: false, @@ -159,6 +159,14 @@ export default { } } } + }, + computed: { + dynamicActionWidth() { + if (this.$i18n.locale === 'pt-br') { + return '160px' + } + return '130px' + } } }