Authored by 郭成尧

'处理用户自主填写价格区间'

... ... @@ -24,7 +24,7 @@ const handleFilterUrl = (originParam, newParam) => {
tempOriginParam = Object.assign(tempOriginParam, originParam, newParam);
delete tempOriginParam.uid;
_.forEach(tempOriginParam, function (value, key) {
_.forEach(tempOriginParam, function(value, key) {
dest = dest + key + '=' + value + '&';
});
... ... @@ -463,7 +463,7 @@ exports.handleSaleFilterData = (origin, params) => {
if (!_.isEmpty(origin.brand)) {
let count = 0;
_.forEach(origin.brand, function (value) {
_.forEach(origin.brand, function(value) {
let brand = {
checked: (typeof _.find(intBrands, o => {
return _.isEqual(o, value.id);
... ... @@ -614,7 +614,7 @@ exports.handleBannerData = (origin) => {
let dest = {};
dest.list = [];
_.forEach(origin, function (value) {
_.forEach(origin, function(value) {
if (value.template_name === 'focus') {
_.forEach(value.data, subValue => {
... ...