Authored by whb

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop

@@ -46,7 +46,9 @@ if (document.referrer && document.referrer.indexOf('/cart/index/index') !== -1) @@ -46,7 +46,9 @@ if (document.referrer && document.referrer.indexOf('/cart/index/index') !== -1)
46 orderInfo('couponName', null); 46 orderInfo('couponName', null);
47 } 47 }
48 48
49 -orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary'); 49 +if (queryString.cartType || queryString.carttype || !orderInfo('cartType')) {
  50 + orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary');
  51 +}
50 52
51 function dispacthTapEvt(e) { 53 function dispacthTapEvt(e) {
52 var $cur = $(e.target).closest('li'); 54 var $cur = $(e.target).closest('li');