feat(router): 更新首页路由重定向至产品管理页
- 将首页路径 '/' 的组件加载改为重定向到 '/manage/product' - 移除了原先直接加载 ProductDetail 组件的配置 - 确保用户访问根路径时能正确跳转到产品管理界面
This commit is contained in:
@@ -9,7 +9,7 @@ const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: ProductDetail
|
||||
redirect: '/manage/product'
|
||||
},
|
||||
{
|
||||
path: '/product/:id',
|
||||
|
||||
Reference in New Issue
Block a user