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

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

parent a1800a25
...@@ -27,9 +27,9 @@ export default [ ...@@ -27,9 +27,9 @@ export default [
component: () => import('@/views/items/detail') component: () => import('@/views/items/detail')
}, },
{ {
path: '/items/list', path: '/items/category',
name: 'list', name: 'category',
component: () => import('@/views/items/list'), component: () => import('@/views/items/category'),
props: route => route.query props: route => route.query
}, },
{ {
......
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
goodsCategory({ id: o.id }).then(res => { goodsCategory({ id: o.id }).then(res => {
let categoryId = res.data.data.currentCategory.id; let categoryId = res.data.data.currentCategory.id;
this.$router.replace({ this.$router.replace({
name: 'list', name: 'category',
query: { itemClass: categoryId } 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