0👍
You should remove the currencyDisplay
key from the global filter:
Vue.filter('currencyDisplay', {
read: function (val) {
return '$' + val.toFixed(2)
},
write: function (val, oldVal) {
var number = +val.replace(/[^\d.]/g, '')
return isNaN(number) ? 0 : number
}
})
- [Vuejs]-How to create common.css file and use postcss only?
- [Vuejs]-Vue PulseLoader given unexpected token with Laravel
Source:stackexchange.com