Authored by 郭成尧

add-qs

@@ -13,8 +13,8 @@ let initParams = { @@ -13,8 +13,8 @@ let initParams = {
13 currentUrl: location.pathname 13 currentUrl: location.pathname
14 }; 14 };
15 15
16 -if (qs.query) {  
17 - $.extend(initParams, { query: qs.query }); 16 +if (qs) {
  17 + $.extend(initParams, qs);
18 } 18 }
19 19
20 new ProductListWithFilter(initParams); 20 new ProductListWithFilter(initParams);