uni-app调整vuex目录结构

This commit is contained in:
sfmind
2022-11-23 00:21:41 +08:00
parent a72c68ce87
commit 49fe926cb8
3 changed files with 112 additions and 81 deletions

View File

@ -0,0 +1,6 @@
const getters = {
accessToken: state => state.user.accessToken,
userInfo: state => state.user.userInfo,
hasLogin: state => !!state.user.accessToken
}
export default getters