feature:分类管理接口对接

This commit is contained in:
chen committed 2024-11-21 13:06:52 +08:00
1 parent f3d5e881af
commit 37a8db0055
12 files changed
+231 -154

No files matched your search

+4 -4
View File
@@ -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
},