Authored by 王水玲

Merge branch 'release/4.8' of git.yoho.cn:fe/yohobuy-node into release/4.8

... ... @@ -598,6 +598,11 @@ exports.handleSaleFilterData = (origin, params) => {
});
// 如果年龄就一个,默认选中
if (dest.ageLevel && dest.ageLevel.length === 1) {
_.set(dest, 'ageLevel[0].checked', true);
}
// 清除所有选中数据
let remainParams = {};
... ...
... ... @@ -51,7 +51,7 @@
{{#if ageLevel}}
<div class="channel section">
<span class="title">性别</span>
<span class="title">年龄</span>
<div class="attr-content clearfix">
{{#each ageLevel}}
... ...