Commit 95ae72d3 authored by nick zheng's avatar nick zheng

fix: 应用关联知识库列表查询

parent 30ad0436
......@@ -70,7 +70,13 @@ function handleDeleteKnowledgeItem(kdId: number) {
}
function handleCloseAssociatedKnowledgeModal() {
knowledgeConfig.value.knowledgeIds.length && handleGetKnowledgeListByIds()
if (!knowledgeConfig.value.knowledgeIds.length) {
selectKnowledgeList.value = []
return
}
knowledgeConfigExpandedNames.value = ['knowledge']
handleGetKnowledgeListByIds()
}
</script>
......
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