Kirin преди 3 години
родител
ревизия
cb7bc3576b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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);
                         console.log(pass);
                         if ((item.num * 1) + (pass * type) > 0) {
                         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) {
                             that.changeCartShop(item.cartId, (item.num * 1) + pass * type).then(function (data) {
                                 console.log(data.data.status);
                                 console.log(data.data.status);