Commit 8cb29ccb authored by 黄媛媛's avatar 黄媛媛
parents ceb6fa5e f6f7855e
......@@ -664,12 +664,12 @@
}
},
catGoodsNumChange(catIndex) {
if (this.data.catList[catIndex].goodsNum > 3) {
this.data.catList[catIndex].goodsNum = 3;
}
if (this.data.catList[catIndex].goodsNum < 1) {
this.data.catList[catIndex].goodsNum = 1;
}
// if (this.data.catList[catIndex].goodsNum > 3) {
// this.data.catList[catIndex].goodsNum = 3;
// }
// if (this.data.catList[catIndex].goodsNum < 1) {
// this.data.catList[catIndex].goodsNum = 1;
// }
},
showCatChange(value) {
if (!value) {
......
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