소스 검색

优惠券

zhengjinyi 4 년 전
부모
커밋
97708aacb5

+ 1 - 3
src/main/resources/static/js/common/ajax.service.js

@@ -52,9 +52,7 @@ var Http = {
                     def.resolve(res);
                 }
             }, function(error) {
-                CAIMEI.Alert('网络请求超时,请重试~','确定',true,function () {
-                    window.location.reload();
-                });
+                console.log('网络请求超时,请重试~')
                 def.reject(error);
             });
             return def;

+ 1 - 3
src/main/resources/static/js/common/locallhostAjax.service.js

@@ -38,9 +38,7 @@ var LocakkHost = {
                     def.resolve(res);
                 }
             }, function(error) {
-                CAIMEI.Alert('网络请求超时,请重试~','确定',true,function () {
-                    window.location.reload();
-                });
+                console.log('网络请求超时,请重试~')
                 def.reject(error);
             });
             return def;

+ 1 - 1
src/main/resources/static/js/shopping/cart.js

@@ -305,7 +305,7 @@ var shoppingCart = new Vue({
                 _self.couponPrice = 0
             }
         },
-        setCouponsArr: function(coupon){
+        setCouponsArr: function(coupon){//处理
             var _self = this;
             const list = []
             if(_self.totalPrice >= coupon.touchPrice){