mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
bug fix, store.tate.email not null
This commit is contained in:
parent
6becd2192b
commit
4a05fe5dcf
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user