Last active
December 18, 2018 09:15
-
-
Save LeezQ/69a92b7ecc09eb63e1ab7089cae8eb6e to your computer and use it in GitHub Desktop.
dva-model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as menuServices from '@/services/atgauth/menu'; | |
export default { | |
namespace: 'model', | |
state: { | |
menuTree: [], | |
}, | |
effects: { | |
*getUserInfo(_, { call, put }) { | |
}, | |
}, | |
reducers: { | |
update(state, { payload }) { | |
return { | |
...state, | |
}; | |
}, | |
}, | |
subscriptions: { | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment