@@ -80,6 +80,19 @@ class SearchOption extends React.Component {
})
}
}}
+ // onPropertyChange={(e) => { // 兼容ie
+ // if((e.target.value).trim() != ''){
+ // handleChangeValue(e.target.value);
+ // this.setState({
+ // val:e.target.value,
+ // show:true
+ // })
+ // }else{
+ // show:false
+ // }
+ // }}
placeholder="搜索"
/>
<div className={styles.autoList}>
@@ -50,7 +50,7 @@ class Textarea extends Component {
<div className={style.divTextarea}
contenteditable={true}
ref={this.$dom}
- onChange={this.handleInput}
+ onInput={this.handleInput}
></div>
);
@@ -59,12 +59,11 @@
width: 100px;
height: 34px;
line-height: 34px;
- margin: 0 auto;
+ margin: 10px auto;
background-color: #78bddd;
border-radius: 5px;
text-align: center;
color: #fff;
- margin-bottom: 20px;
cursor: pointer;