This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user