Luolei 6 years atrás
parent
commit
c7e0483300

+ 13 - 0
src/common/components/SearchOption/index.jsx

@@ -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{
+                    //         this.setState({
+                    //             show:false
+                    //         })
+                    //     }
+                    // }}
                     placeholder="搜索"
                 />
                 <div className={styles.autoList}>

+ 1 - 1
src/components/AddAssistCheck/Textarea/index.jsx

@@ -50,7 +50,7 @@ class Textarea extends Component {
       <div className={style.divTextarea}
           contenteditable={true}
           ref={this.$dom}
-          onChange={this.handleInput}
+          onInput={this.handleInput}
       ></div>
     );
   }

+ 1 - 2
src/components/Inspect/index.less

@@ -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;
 }