Kirin hace 3 años
padre
commit
cb7bc3576b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/admin/view/store/placeorder/index.php

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

@@ -330,8 +330,8 @@
                         }
                         console.log(pass);
                         if ((item.num * 1) + (pass * type) > 0) {
-                            console.log((item.num * 1))
-                            console.log((pass * type))
+                            console.log(typeof (item.num * 1))
+                            console.log(typeof (pass * type))
                             //修改商品数量
                             that.changeCartShop(item.cartId, (item.num * 1) + pass * type).then(function (data) {
                                 console.log(data.data.status);