From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 十二月 2022 15:53:32 +0800 Subject: [PATCH] 2022-12-09 --- 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