Commit a747c46b authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-vue]: 分类商品页面重命名

parent a1800a25
......@@ -27,9 +27,9 @@ export default [
component: () => import('@/views/items/detail')
},
{
path: '/items/list',
name: 'list',
component: () => import('@/views/items/list'),
path: '/items/category',
name: 'category',
component: () => import('@/views/items/category'),
props: route => route.query
},
{
......
......@@ -183,7 +183,7 @@ export default {
goodsCategory({ id: o.id }).then(res => {
let categoryId = res.data.data.currentCategory.id;
this.$router.replace({
name: 'list',
name: 'category',
query: { itemClass: categoryId }
});
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment