Explorar el Código

删除多余代码

zhouna hace 6 años
padre
commit
5afd593992
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/components/InfoTitle/index.jsx

+ 2 - 2
src/components/InfoTitle/index.jsx

@@ -18,8 +18,8 @@ class InfoTitle extends Component {
         store.dispatch(initItemList());
         store.dispatch(showHistory(true))
     }
-    render() {console.log(store)
-        const {disVisible,copyVisible} = store.getState().copyRight;console.log(disVisible,copyVisible)
+    render() {
+        const {disVisible,copyVisible} = this.props;
         return <div className={style['title-wrapper']} style={{zIndex:disVisible||copyVisible?40:204}}>
             <PatInfoContainer />
             <div className={style["operations"]} onClick={this.showHistoryBox}>