Authored by 郭成尧

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

@@ -24,7 +24,7 @@ const handleFilterUrl = (originParam, newParam) => { @@ -24,7 +24,7 @@ const handleFilterUrl = (originParam, newParam) => {
24 tempOriginParam = Object.assign(tempOriginParam, originParam, newParam); 24 tempOriginParam = Object.assign(tempOriginParam, originParam, newParam);
25 delete tempOriginParam.uid; 25 delete tempOriginParam.uid;
26 26
27 - _.forEach(tempOriginParam, function (value, key) { 27 + _.forEach(tempOriginParam, function(value, key) {
28 dest = dest + key + '=' + value + '&'; 28 dest = dest + key + '=' + value + '&';
29 }); 29 });
30 30
@@ -463,7 +463,7 @@ exports.handleSaleFilterData = (origin, params) => { @@ -463,7 +463,7 @@ exports.handleSaleFilterData = (origin, params) => {
463 if (!_.isEmpty(origin.brand)) { 463 if (!_.isEmpty(origin.brand)) {
464 let count = 0; 464 let count = 0;
465 465
466 - _.forEach(origin.brand, function (value) { 466 + _.forEach(origin.brand, function(value) {
467 let brand = { 467 let brand = {
468 checked: (typeof _.find(intBrands, o => { 468 checked: (typeof _.find(intBrands, o => {
469 return _.isEqual(o, value.id); 469 return _.isEqual(o, value.id);
@@ -614,7 +614,7 @@ exports.handleBannerData = (origin) => { @@ -614,7 +614,7 @@ exports.handleBannerData = (origin) => {
614 let dest = {}; 614 let dest = {};
615 615
616 dest.list = []; 616 dest.list = [];
617 - _.forEach(origin, function (value) { 617 + _.forEach(origin, function(value) {
618 if (value.template_name === 'focus') { 618 if (value.template_name === 'focus') {
619 _.forEach(value.data, subValue => { 619 _.forEach(value.data, subValue => {
620 620