From ee528b89f22d1054ef7c4391c6fc54f2bd39612b Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 30 七月 2024 20:00:48 +0800 Subject: [PATCH] 修改客户培训提出的优化 --- src/components/tool/value-table.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue index 3fa5c3c..08b369c 100644 --- a/src/components/tool/value-table.vue +++ b/src/components/tool/value-table.vue @@ -648,6 +648,8 @@ item.width = 160 } else if (item.value.length === 6){ item.width = 150 + } else if (item.value.length === 2){ + item.width = this.data.sort === false && item.label.includes('Hours') ? 52 : 86 } else { item.width = this.data.sort === false && item.label.includes('Hours') ? 46 : 86 } -- Gitblit v1.9.3