Added Axios and removed fetch...

Axios has CSXF integrated.
This commit is contained in:
Paolo Arena
2019-02-19 02:33:02 +01:00
parent ee6cf47c29
commit ec49343556
15 changed files with 204 additions and 236 deletions

View File

@@ -53,7 +53,10 @@ export default class App extends Vue {
.then((loadstorage) => {
if (loadstorage) {
this.$i18n.locale = UserStore.state.lang // Set Lang
if (UserStore.state.lang !== null) {
console.log('SETLOCALE :', this.$i18n.locale)
this.$i18n.locale = UserStore.state.lang // Set Lang
}
console.log('lang CARICATO:', this.$i18n.locale)
globalroutines(this, 'loadapp', '')