Explorar o código

删除多余代码

zhouna %!s(int64=6) %!d(string=hai) anos
pai
achega
5afd593992
Modificáronse 1 ficheiros con 2 adicións e 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}>