From cc810edac6aec3c858fb352091ad8c11332447a5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 10 十二月 2023 19:12:53 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/zshare/topSearch/mkSelect/index.jsx |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/topSearch/mkSelect/index.jsx b/src/tabviews/zshare/topSearch/mkSelect/index.jsx
index be6c57b..87000f4 100644
--- a/src/tabviews/zshare/topSearch/mkSelect/index.jsx
+++ b/src/tabviews/zshare/topSearch/mkSelect/index.jsx
@@ -46,6 +46,12 @@
         config: fromJS(nextProps.config).toJS(),
         options: fromJS(nextProps.config.options).toJS()
       })
+
+      if (config.$first && nextProps.config.initval) {
+        this.setState({
+          value: nextProps.config.initval
+        })
+      }
     }
   }
 

--
Gitblit v1.8.0