From f6626b05f1275cc2f8ca77f773d4f6a6af1b0a89 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 十一月 2022 16:11:55 +0800 Subject: [PATCH] 2022-11-21 --- src/menu/stylecombcontroller/styleInput/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/menu/stylecombcontroller/styleInput/index.jsx b/src/menu/stylecombcontroller/styleInput/index.jsx index 7426b2d..1a2c00c 100644 --- a/src/menu/stylecombcontroller/styleInput/index.jsx +++ b/src/menu/stylecombcontroller/styleInput/index.jsx @@ -140,7 +140,7 @@ <div className="style-input-box"> <Input value={value} addonAfter={ options.length > 1 ? - <Select value={unit} onChange={this.changeUnit}> + <Select value={<span>{unit}</span>} onChange={this.changeUnit}> {options.map(item => <Option key={item} value={item}>{item}</Option>)} </Select> : <div className="single-unit">{unit}</div> -- Gitblit v1.8.0