Showing
1 changed file
with
1 additions
and
10 deletions
@@ -38,22 +38,13 @@ import FilterSub from './filter-sub.vue'; | @@ -38,22 +38,13 @@ import FilterSub from './filter-sub.vue'; | ||
38 | 38 | ||
39 | let locationQuery = qs(decodeURIComponent(location.search.replace(/^\?/, ''))); | 39 | let locationQuery = qs(decodeURIComponent(location.search.replace(/^\?/, ''))); |
40 | 40 | ||
41 | -const keyMap = { | ||
42 | - 品牌: 'brand', | ||
43 | - 品类: 'sort', | ||
44 | - 颜色: 'color', | ||
45 | - 尺寸: 'size', | ||
46 | - 价格: 'price', | ||
47 | - 折扣: 'discount' | ||
48 | -}; | ||
49 | - | ||
50 | const convertMap = { | 41 | const convertMap = { |
51 | brand: 'brand', | 42 | brand: 'brand', |
52 | group_sort: 'sort', | 43 | group_sort: 'sort', |
53 | color: 'color', | 44 | color: 'color', |
54 | size: 'size', | 45 | size: 'size', |
55 | price: 'price', | 46 | price: 'price', |
56 | - discount: 'discount', | 47 | + discount: 'p_d', |
57 | }; | 48 | }; |
58 | 49 | ||
59 | export default { | 50 | export default { |
-
Please register or login to post a comment