feature:分类管理接口对接
This commit is contained in:
1 parent
f3d5e881af
commit
37a8db0055
12 files changed
+231
-154
No files matched your search
+4
-4
@@ -6,9 +6,9 @@ import Layout from '@/layouts/Layout.vue'
|
||||
|
||||
export const asyncRoutes: RouteRecordRaw[] = [
|
||||
{
|
||||
name: 'classify',
|
||||
path: 'classify',
|
||||
component: () => import('@/pages/classify/index.vue'),
|
||||
name: 'category',
|
||||
path: 'category',
|
||||
component: () => import('@/pages/category/index.vue'),
|
||||
meta: {
|
||||
title: '分类管理',
|
||||
icon: 'system-3'
|
||||
@@ -24,7 +24,7 @@ const router = createRouter({
|
||||
component: Layout,
|
||||
path: '/',
|
||||
redirect: {
|
||||
name: 'classify'
|
||||
name: 'category'
|
||||
},
|
||||
children: asyncRoutes
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user