Commit 636fef8c by 冷斌

fix bug

parent 6f60fde0
......@@ -99,13 +99,14 @@
onMinus: function() {
if(this.count - 1 > 0) {
this.count -= 1
this.count -= 1;
this.totalPrice -= this.info.price;
}
this.totalPrice = 1231111;
},
onPlus: function() {
this.count += 1
this.totalPrice += this.info.price;
},
onBuy: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment