Version 1.0.1 with RIS Circuit Money Exchange !

This commit is contained in:
Paolo Arena
2022-09-14 17:37:10 +02:00
parent 25a60472ab
commit f86d8cb7d1
31 changed files with 242 additions and 116 deletions

View File

@@ -949,7 +949,14 @@ export const useGlobalStore = defineStore('GlobalStore', {
return Api.SendReq('/settable', 'POST', mydata)
.then((res) => {
this.serverError = false
return res.data
if (res && res.data) {
tools.updateMyData(res.data.ris)
if (res.data.rec) {
return res.data.rec
} else {
res.data
}
}
})
.catch((error) => {
this.serverError = true