From c0a3c9ee271d5876f4259d8f72681dc7b34261ff Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 21 一月 2025 15:11:08 +0800
Subject: [PATCH] 2025-01-21

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

diff --git a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
index 8b18bcf..bc9fe92 100644
--- a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
+++ b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx
@@ -61,6 +61,7 @@
     })
 
     let placeholder = ''
+    let searchKey = ''
     if (!config.searchKey) {
       config.onload = 'true'
     } else {
@@ -74,6 +75,11 @@
       })
 
       placeholder = placeholder ? placeholder.join('銆�') : ''
+
+      if (value && !config.showValue) {
+        searchKey = value
+        config.onload = 'true'
+      }
     }
 
     this.state = {
@@ -84,7 +90,7 @@
       showValue: config.showValue,
       placeholder,
       arr_field: arrfield.join(','),
-      searchKey: '',
+      searchKey: searchKey,
       pageIndex: 1,
       pageSize: 10,
       orderBy: '',

--
Gitblit v1.8.0