Authored by Rock Zhang

修复结算页面cookie中的cartType记录与url中的cartType不同步导致数据错误的bug

Code Review By Rock Zhang
... ... @@ -40,7 +40,9 @@ if ($couponUse.data('name') !== orderInfo('couponName')) {
orderInfo('couponName', null);
}
orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary');
if (queryString.cartType || queryString.carttype || !orderInfo('cartType')) {
orderInfo('cartType', queryString.cartType || queryString.carttype || 'ordinary');
}
function dispacthTapEvt(e) {
var $cur = $(e.target).closest('li');
... ...