zanti
This commit is contained in:
parent
ba80caeb82
commit
68b9524cce
@ -81,7 +81,10 @@ const user = {
|
|||||||
},
|
},
|
||||||
setBaseUrl: (state, baseUrl) => {
|
setBaseUrl: (state, baseUrl) => {
|
||||||
state.baseUrl = baseUrl;
|
state.baseUrl = baseUrl;
|
||||||
}
|
},
|
||||||
|
setResourcesUrl: (state, resourcesUrl) => {
|
||||||
|
state.resourcesUrl = resourcesUrl;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
@ -213,6 +216,9 @@ const user = {
|
|||||||
setBaseUrl ({commit}, baseUrl) {
|
setBaseUrl ({commit}, baseUrl) {
|
||||||
commit('setBaseUrl', baseUrl);
|
commit('setBaseUrl', baseUrl);
|
||||||
},
|
},
|
||||||
|
setResourcesUrl({}, resourcesUrl) {
|
||||||
|
commit('setResourcesUrl', resourcesUrl);
|
||||||
|
},
|
||||||
setToken({commit}, token) {
|
setToken({commit}, token) {
|
||||||
commit('SET_TOKEN', token);
|
commit('SET_TOKEN', token);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user