Add some initial data to the state
This commit is contained in:
parent
f7e71e7cc3
commit
cdb8f90339
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ Vue.use(Vuex)
|
|||
|
||||
export default new Vuex.Store({
|
||||
state: {
|
||||
view: `login`,
|
||||
role: null,
|
||||
id: null,
|
||||
},
|
||||
mutations: {
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue