side fold

This commit is contained in:
zuiidea
2016-11-29 23:04:01 +08:00
parent 3fdeb2fa0b
commit 82e98b5838
4 changed files with 23 additions and 6 deletions
+3
View File
@@ -25,6 +25,9 @@ function App({children, location, dispatch, app}) {
location,
logout() {
dispatch({type: 'app/logout'})
},
switchSider() {
dispatch({type: 'app/switchSider'})
}
}