Add personal tool management page

This commit is contained in:
2024-01-30 13:33:57 +08:00
parent ad47030cb2
commit 0e804ff732
12 changed files with 457 additions and 61 deletions

View File

@@ -28,9 +28,23 @@ export const tools: RouteJsonObject[] = [
name: '创建工具',
titlePostfix: ' - 创建新工具',
icon: lazy(() => import('~icons/oxygen/newProject')),
menu: true,
menu: false,
auth: true
},
{
path: 'view/:username/:toolId/:ver',
absolutePath: '/view',
id: 'tools-view-ver',
component: lazy(() => import('@/pages/Tools/View')),
name: '查看'
},
{
path: 'view/:username/:toolId',
absolutePath: '/view',
id: 'tools-view',
component: lazy(() => import('@/pages/Tools/View')),
name: '查看'
},
{
path: '*',
absolutePath: '*',