refine code

This commit is contained in:
Pan
2017-08-22 15:09:25 +08:00
committed by 花裤衩
parent 62d2f62bff
commit b8ecda19d8
6 changed files with 11 additions and 17 deletions

View File

@@ -40,12 +40,6 @@ const user = {
},
SET_ROLES: (state, roles) => {
state.roles = roles;
},
LOGIN_SUCCESS: () => {
console.log('login success')
},
LOGOUT_USER: state => {
state.user = '';
}
},