Kaynağa Gözat

[FIX] separator in cart total component

Gogs 7 yıl önce
ebeveyn
işleme
9774d4bd45
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/components/CartTotal.vue

+ 1 - 1
src/components/CartTotal.vue

@@ -31,7 +31,7 @@
         },
         },
         methods: {
         methods: {
             getTotal() {
             getTotal() {
-                return accounting.format(this.total, this.decimals, '.', ',')
+                return accounting.format(this.total, this.decimals, this.separator, ',')
             },
             },
             getSymbol() {
             getSymbol() {
                 return this.symbol
                 return this.symbol