You've already forked agentic-coding-workflow
前端页面调整
This commit is contained in:
@@ -175,6 +175,11 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/views/admin/AgentKindEditView.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
// 兜底:匹配不到的路径(如空参数的 /p/x/w/、手输错误 URL)统一回首页,避免白屏
|
||||
path: '/:pathMatch(.*)*',
|
||||
redirect: '/',
|
||||
},
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from 'vue'
|
||||
import { useAcpStore } from '@/stores/acp'
|
||||
import AppShell from '@/components/layout/AppShell.vue'
|
||||
import AppShell from '@/layouts/AppShell.vue'
|
||||
import SessionStatusBadge from '@/components/acp/SessionStatusBadge.vue'
|
||||
|
||||
const store = useAcpStore()
|
||||
|
||||
Reference in New Issue
Block a user