From 41accaed7b2260f9033701f048b5b65b01a6369d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 十一月 2023 15:42:19 +0800 Subject: [PATCH] 2023-11-21 --- 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