fix: 路由缺少name字段,ts不高兴

This commit is contained in:
dhb52 2023-10-15 14:29:16 +08:00
parent 4d77d7e136
commit 3587d1ef97

View File

@ -333,6 +333,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{ {
path: '/mall/product', // 商品中心 path: '/mall/product', // 商品中心
component: Layout, component: Layout,
name: 'Product',
meta: { meta: {
hidden: true hidden: true
}, },
@ -394,6 +395,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
{ {
path: '/mall/trade', // 交易中心 path: '/mall/trade', // 交易中心
component: Layout, component: Layout,
name: 'Trade',
meta: { meta: {
hidden: true hidden: true
}, },