Kirin 3 years ago
parent
commit
7d5876d841
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/admin/view/store/placeorder/index.php

+ 1 - 2
app/admin/view/store/placeorder/index.php

@@ -328,8 +328,8 @@
                             layer.msg('请输入数字')
                             return false
                         }
+                        console.log(111);
                         if (item.num + pass * type > 0) {
-
                             //修改商品数量
                             that.changeCartShop(item.cartId, item.num).then(function (data) {
                                 console.log(data);
@@ -340,7 +340,6 @@
                                     layer.msg(data.data.msg);
                                 }
                             })
-
                         } else {
                             layer.msg('商品数量不可小于0')
                         }