Эх сурвалжийг харах

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

dhb52 1 жил өмнө
parent
commit
3587d1ef97

+ 2 - 0
src/router/modules/remaining.ts

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