currency issue
This commit is contained in:
parent
d5e959c867
commit
fd8b6c15b5
@ -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;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@props([
|
@props([
|
||||||
'metaTitle', 'title',
|
'metaTitle', 'title', 'currency'
|
||||||
])
|
])
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user