Commit 6cdd3211 by 冷斌

fix bug

parent b567fefb
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
methods: { methods: {
onMinus: function() { onMinus: function() {
if(this.count - 1 > 1) { if(this.count - 1 > 0) {
this.count -= 1 this.count -= 1
} }
this.totalPrice = 1; this.totalPrice = 1231111;
}, },
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