diff options
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/store/index.js b/src/store/index.js index 02e3efa..c131271 100644 --- a/src/store/index.js +++ b/src/store/index.js | |||
@@ -29,6 +29,10 @@ const store = new Vuex.Store({ | |||
29 | 29 | ||
30 | get_user: (state) => { | 30 | get_user: (state) => { |
31 | return state.user | 31 | return state.user |
32 | }, | ||
33 | |||
34 | get_token: (state) => { | ||
35 | return state.token | ||
32 | } | 36 | } |
33 | }, | 37 | }, |
34 | 38 | ||