Browse Source

删除 console

zhangxc 5 years ago
parent
commit
c81c1fd9b9
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/components/Operation/index.jsx

+ 1 - 5
src/components/Operation/index.jsx

@@ -206,13 +206,10 @@ class Operation extends Component {
     // diagShowTmp(true)
   }
   spellFst(){
-    console.log(this.state.title)
     const {diagShowTmp} = this.props
     let tmpFst = pinyin.getCamelChars(this.state.title);
-    console.log(tmpFst)
-    console.log(tmpFst.substr(0,1).toUpperCase())
+    // console.log(tmpFst.substr(0,1).toUpperCase())
     this.setState({fstName:tmpFst.substr(0,1).toUpperCase()})
-    console.log(this.$inp)
       // this.$inp.current.vaule = tmpFst
     document.getElementById ('FstInp').value=tmpFst.substr(0,1).toUpperCase()
     
@@ -230,7 +227,6 @@ class Operation extends Component {
     }
   }
   changeTitle() {
-    console.log('testChangeTitle', this.state.fstName)
     const {isRead,typeConfig} = this.props
     const value = this.state.fstName
     return <div className={style['box']}>