changes
This commit is contained in:
parent
b3331413e7
commit
1ee269ce31
|
@ -18,7 +18,6 @@ new Vue({
|
|||
if (val == this.books[i].id) {
|
||||
this.books[i].num += 1
|
||||
if (this.books[i].num > 10) {
|
||||
alert("你已经购买了10件不能再买了")
|
||||
this.books[i].num = 10
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue