bug fix, store.tate.email not null

This commit is contained in:
ogerly 2021-03-26 09:14:36 +01:00
parent 6becd2192b
commit 4a05fe5dcf
3 changed files with 11 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import communityAPI from '../apis/communityAPI'
export const store = new Vuex.Store({
state: {
session_id: null,
email: null,
email: '',
language: 'en',
sizeDE: 'normal',
sizeGB: 'big',
@ -153,9 +153,15 @@ export const store = new Vuex.Store({
state.ajaxCreateData.amount,
state.ajaxCreateData.memo,
)
console.log(result)
if (result.success) {
console.log('send success')
} else {
console.log('send error')
}
return result
//console.log(result)
},
ajaxListTransactions: async ({ commit, dispatch, state }) => {
// console.log('action: ajaxListTransactions', state.session_id)

View File

@ -9,7 +9,7 @@
type="number"
size="lg"
placeholder="23"
style="font-size: xx-large; padding-left: 20px"
style="font-size: xx-large; padding-left: 5px"
/>
</base-input>
<base-input label="Datum / Zeitraum">
@ -17,7 +17,7 @@
class="form-control"
v-model="date"
:config="config"
style="font-size: x-large; padding-left: 20px"
style="font-size: 0.5em; padding-left: 5px"
></flat-pickr>
</base-input>
</b-col>

View File

@ -226,7 +226,7 @@ export default {
},
methods: {
async onDecode(decodedString) {
//console.log('onDecode JSON.parse(decodedString)', JSON.parse(decodedString))
console.log('onDecode JSON.parse(decodedString)', JSON.parse(decodedString))
const arr = JSON.parse(decodedString)
//console.log('qr-email', arr[0].email)
//console.log('qr-amount', arr[0].amount)