currency issue

This commit is contained in:
Cihan Şentürk 2023-03-24 17:37:37 +03:00
parent d5e959c867
commit fd8b6c15b5
2 changed files with 1 additions and 11 deletions

View File

@ -188,16 +188,6 @@ export default {
created: function() { created: function() {
this.form = new Form('form-create'); this.form = new Form('form-create');
// for override global currency variable..
this.currency = {
decimal: '.',
thousands: ',',
prefix: '$ ',
suffix: '',
precision: 2,
masked: false /* doesn't work with directive */
};
// Parent vue instance methods merge with child vue instance methods // Parent vue instance methods merge with child vue instance methods
if (this.$root.$options.methods) { if (this.$root.$options.methods) {
let parent_methods = this.$root.$options.methods; let parent_methods = this.$root.$options.methods;

View File

@ -1,5 +1,5 @@
@props([ @props([
'metaTitle', 'title', 'metaTitle', 'title', 'currency'
]) ])
<head> <head>