瀏覽代碼

feat: 新增商品属性值路由配置

Siyu Kong 2 年之前
父節點
當前提交
fdbae2dd37
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      src/router/modules/remaining.ts

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

@@ -294,6 +294,22 @@ const remainingRouter: AppRouteRecordRaw[] = [
         }
       }
     ]
+  },
+  {
+    path: '/property',
+    component: Layout,
+    name: 'property',
+    meta: {
+      hidden: true
+    },
+    children: [
+      {
+        path: 'value/:propertyId(\\d+)',
+        component: () => import('@/views/mall/product/property/value/index.vue'),
+        name: 'PropertyValue',
+        meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' }
+      }
+    ]
   }
 ]