This commit is contained in:
2018-11-16 00:18:15 +00:00
parent 6364b328bc
commit f5724f40cb
4 changed files with 15 additions and 9 deletions

View File

@@ -13,7 +13,8 @@ export default new Vuex.Store({
userId: 0,
roles: 0,
localeText: {},
navItems: []
navItems: [],
logBuffer: []
},
mutations: {
login(state, data) {
@@ -40,6 +41,9 @@ export default new Vuex.Store({
},
setAPIURL(state, data) {
state.apiUrl = data;
},
setLog(state, data) {
state.logBuffer = data;
}
},
actions: {}