From d662ba9cab4b39371b0ae2c78fcfbaf76a4fe18a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 06 二月 2023 15:40:20 +0800
Subject: [PATCH] 2023-02-06

---
 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 1a2c00c..7426b2d 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={<span>{unit}</span>} onChange={this.changeUnit}>
+          <Select value={unit} onChange={this.changeUnit}>
             {options.map(item => <Option key={item} value={item}>{item}</Option>)}
           </Select> :
           <div className="single-unit">{unit}</div>

--
Gitblit v1.8.0