From 8acfcd6e349ef2d1b797a7483940a2f3f2dfcfe6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 03 二月 2024 17:49:25 +0800 Subject: [PATCH] Merge branch 'develop' --- src/tabviews/zshare/topSearch/mkSelect/index.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/topSearch/mkSelect/index.jsx b/src/tabviews/zshare/topSearch/mkSelect/index.jsx index 87000f4..4dcfe0a 100644 --- a/src/tabviews/zshare/topSearch/mkSelect/index.jsx +++ b/src/tabviews/zshare/topSearch/mkSelect/index.jsx @@ -47,10 +47,12 @@ options: fromJS(nextProps.config.options).toJS() }) - if (config.$first && nextProps.config.initval) { + if (config.type !== 'multiselect') { this.setState({ value: nextProps.config.initval }) + + this.props.onChange(nextProps.config.initval, true) } } } -- Gitblit v1.8.0