remove regex

This commit is contained in:
ogerly 2022-08-08 15:27:42 +02:00
parent adef450bd0
commit 1fbea40c4d

View File

@ -106,7 +106,7 @@ export default {
},
methods: {
numberFormat(value) {
return (this.form.amount = value.replace(/\.|,, ''))
return (this.form.amount = value.replace(/\.|,/, ''))
},
submit() {
this.numberFormat(this.form.amount)