Преглед изворни кода

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

dhb52 пре 1 година
родитељ
комит
3587d1ef97
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/router/modules/remaining.ts

+ 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
     },