소스 검색

[FIX] separator in cart total component

Gogs 8 년 전
부모
커밋
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