Просмотр исходного кода

[FIX] separator in cart total component

Gogs 8 лет назад
Родитель
Сommit
9774d4bd45
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/CartTotal.vue

+ 1 - 1
src/components/CartTotal.vue

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