From 5e1ff4dc1c6d384af39cac1d3fbe6bf4b58566f2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 19 十月 2023 17:59:22 +0800
Subject: [PATCH] 2023-10-19

---
 src/tabviews/zshare/mutilform/mkPopSelect/index.jsx |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
index 59f0af5..320dceb 100644
--- a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
@@ -350,8 +350,16 @@
           dataSource={options}
           loading={loading}
           onRow={(record) => {
+            let className = ''
+
+            if (record.$disabled) {
+              className = ' mk-disable-line '
+            } else if (value === record.$$uuid) {
+              className = ' ant-table-row-selected '
+            }
+            
             return {
-              className: value === record.$$uuid ? ' ant-table-row-selected ' : '',
+              className: className,
               onClick: () => {this.changeRow(record)},
             }
           }}

--
Gitblit v1.8.0