fix: open url file render error

This commit is contained in:
engigu
2026-01-14 19:46:25 +08:00
parent 10e79ef1cf
commit b37eaf02fb
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ const router = createRouter({
children: [
{ path: '', name: 'dashboard', component: () => import('@/views/dashboard/Dashboard.vue') },
{ path: 'tasks', name: 'tasks', component: () => import('@/views/tasks/Tasks.vue') },
{ path: 'editor/:path(.*)?', name: 'editor', component: () => import('@/views/editor/Editor.vue') },
{ path: 'editor', name: 'editor', component: () => import('@/views/editor/Editor.vue') },
{ path: 'environments', name: 'environments', component: () => import('@/views/environments/Environments.vue') },
{ path: 'dependencies', name: 'dependencies', component: () => import('@/views/dependencies/Dependencies.vue') },
{ path: 'agents', name: 'agents', component: () => import('@/views/agents/Agents.vue') },