Align admin shell with reference app

This commit is contained in:
2026-06-10 14:58:45 +08:00
parent f4bca66a78
commit 1aa661e823
5 changed files with 28 additions and 9 deletions
@@ -867,7 +867,7 @@ async function handleSaveSettings() {
}
function handleBack() {
router.push(appContextStore.getContextPath('/ai-platform/knowledge'));
router.push(appContextStore.getContextPath('/ai-platform/knowledge-base'));
}
// Tab 切换时加载数据
@@ -201,7 +201,7 @@ async function handleConfirm() {
// 跳转到详情页
router.push(
appContextStore.getContextPath(
`/ai-platform/knowledge/detail/${res.id}`,
`/ai-platform/knowledge-base/detail/${res.id}`,
),
);
}
@@ -217,7 +217,9 @@ async function handleConfirm() {
function handleDetail(item: KnowledgeBaseListItem) {
router.push(
appContextStore.getContextPath(`/ai-platform/knowledge/detail/${item.id}`),
appContextStore.getContextPath(
`/ai-platform/knowledge-base/detail/${item.id}`,
),
);
}