diff --git a/src/store/index.ts b/src/store/index.ts index 9e2a6dc..8ec407c 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -46,6 +46,7 @@ export default new Vuex.Store({ }, getters: { auth: (state) => state.user !== undefined, + user: (state) => state.user, }, modules: {}, });