Commit a182f432 by maolipeng

fix:解绑事件。。

parent 15b67f61
...@@ -43,7 +43,7 @@ function Aside(props: any) { ...@@ -43,7 +43,7 @@ function Aside(props: any) {
getTopLeftLogo() getTopLeftLogo()
Bus.bind("updateCollegeInfo",updateCollegeInfo) Bus.bind("updateCollegeInfo",updateCollegeInfo)
return ()=> { return ()=> {
Bus.unbind("updateCollegeInfo") Bus.unbind("updateCollegeInfo",updateCollegeInfo)
} }
},[]) },[])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment