feat(router): 更新首页路由重定向至产品管理页

- 将首页路径 '/' 的组件加载改为重定向到 '/manage/product'
- 移除了原先直接加载 ProductDetail 组件的配置
- 确保用户访问根路径时能正确跳转到产品管理界面
This commit is contained in:
2025-12-22 13:21:21 +08:00
parent 0cfe1e6942
commit f440ce2ade

View File

@@ -9,7 +9,7 @@ const routes = [
{
path: '/',
name: 'Home',
component: ProductDetail
redirect: '/manage/product'
},
{
path: '/product/:id',