This commit is contained in:
2020-02-05 19:43:41 +00:00
parent 04699a3e19
commit 9430d06fd1
6 changed files with 89 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ export default new Vuex.Store({
homePage: undefined,
localeText: {},
locale: {
tag: "en-US",
decimalSeparator: ".",
currencySymbol: "$",
shortDate: "YYYY-MM-DD",
@@ -56,6 +57,7 @@ export default new Vuex.Store({
state.localeText = {};
state.formCustomTemplate = {};
state.apiUrl = "";
state.locale.tag = "en-US";
state.locale.decimalSeparator = ".";
state.locale.currencySymbol = "$";
state.locale.shortDate = "YYYY-MM-DD";
@@ -82,6 +84,7 @@ export default new Vuex.Store({
state.locale.shortTime = data.shortTime;
state.locale.shortDateAndTime = data.shortDateAndTime;
state.locale.timeZoneOffset = data.timeZoneOffset;
state.locale.tag = data.tag;
},
setAPIURL(state, data) {
state.apiUrl = data;