瀏覽代碼

删除多余代码

zhouna 6 年之前
父節點
當前提交
5afd593992
共有 1 個文件被更改,包括 2 次插入2 次删除
  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}>