This commit is contained in:
3056762376@qq.com 2022-11-05 07:46:28 +08:00
parent b3331413e7
commit 1ee269ce31
1 changed files with 0 additions and 1 deletions

View File

@ -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
}
}