Commit b567fefb by 冷斌

fix bug

parent 73797d81
...@@ -99,8 +99,9 @@ ...@@ -99,8 +99,9 @@
onMinus: function() { onMinus: function() {
if(this.count - 1 > 1) { if(this.count - 1 > 1) {
this.count += 1 this.count -= 1
} }
this.totalPrice = 1;
}, },
onPlus: function() { onPlus: 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