From 6f90e7110190d146fde06cf1f5b2272fd49b53d6 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期一, 19 十月 2026 17:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/components/Table/lims-table.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index 8b7a584..70539e5 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -35,7 +35,7 @@
         :label="item.label"
         :prop="item.prop"
         :show-overflow-tooltip="item.dataType === 'action' || item.dataType === 'slot' ? false : true"
-        :min-width="columnWidth(item)"
+        :min-width="columnMinWidth(item)"
         :sortable="item.sortable ? true : false"
         :type="item.type"
         :width="columnWidth(item)"
@@ -214,6 +214,14 @@
 })
 
 function columnWidth(item) {
+  if (item.minWidth) return undefined
+  return item.dataType === 'action' ? actionColumnWidth.value : item.width
+}
+
+// 閰嶇疆 minWidth 鏃跺彧绾︽潫鏈�灏忓搴︼紝鎶婂墿浣欑┖闂翠氦缁� Element Plus 鑷姩鍒嗛厤銆�
+// 鏈厤缃� minWidth 鐨勬棫椤甸潰缁х画娌跨敤鍘熸湁鍥哄畾 width 琛屼负銆�
+function columnMinWidth(item) {
+  if (item.minWidth) return item.minWidth
   return item.dataType === 'action' ? actionColumnWidth.value : item.width
 }
 

--
Gitblit v1.9.3