Align admin shell with reference app
This commit is contained in:
@@ -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}`,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user