Commit dde5c0f3 authored by nick zheng's avatar nick zheng

fix: 知识库文档详情跳转失败

parent 3c001bbb
......@@ -59,7 +59,7 @@ export default [
},
{
path: '/personalSpace/knowledge/document/detail/:kdId',
path: '/personalSpace/knowledge/document/detail/:id/:kdId',
name: 'KnowledgeDocumentDetail',
meta: {
rank: 1001,
......
......@@ -114,7 +114,7 @@ async function handleGetKnowledgeChunkList() {
}
function handleBackKnowledgeDocumentList() {
router.back()
router.replace({ name: 'KnowledgeDocument', params: { id: router.currentRoute.value.params.id } })
}
async function handleSearchKnowledgeChunkList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment