ソースを参照

[FIX] discount parameter in cart item

Gogs 7 年 前
コミット
5de0130f4c
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/components/cart/CartItem.vue

+ 1 - 0
src/components/cart/CartItem.vue

@@ -59,6 +59,7 @@
         },
         mounted() {
             this.$set(this.item, 'qty', 1)
+            this.$set(this.item, 'discount', 0)
         }
     }
 </script>