Authored by 姜枫

fix bug

... ... @@ -92,7 +92,7 @@ const Search = {
},
queryAllSort(params) {
params = _.clone(params);
params = _.clone(params) || {};
delete params.msort;
delete params.misort;
... ...
... ... @@ -23,7 +23,7 @@ const _ = require('lodash');
function shopMenu(domain, customMenu) {
let menus = [
{id: 'index', name: '店铺首页', url: `/product/shop/${domain}`},
{id: 'all', name: '全部商品', url: `/product/shop/${domain}/list`, icon: ''},
{id: 'all', name: '全部商品', url: `/product/shop/${domain}/list`},
{id: 'hot', name: '人气单品', url: `/product/shop/${domain}/list?order=s_n_desc`},
{id: 'new', name: '新品上架', url: `/product/shop/${domain}/list?order=s_t_desc`}
];
... ...