perf(固资管理): 对接dify平台进行查询固资
This commit is contained in:
1 parent
7300098ff9
commit
ddb704f574
3 files changed
+3
-17
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* features/chat/composables/useChatAgent.ts
|
||||
* 当前 Agent 元数据、知识库选项、推荐问题与用户可切换 Agent 列表。
|
||||
*/
|
||||
@@ -96,8 +96,9 @@ export function useChatAgent(options: UseChatAgentOptions) {
|
||||
const kbDropdownDisabled = computed(() => availableKbOptions.value.length <= 1);
|
||||
|
||||
watch(canSelectErpKnowledgeBase, (allowed) => {
|
||||
// 固资管理默认先走企业知识库,用户可手动切换到 ERP 知识库。
|
||||
if (allowed) {
|
||||
selectedKb.value = ERP_KB;
|
||||
selectedKb.value = DEFAULT_KB;
|
||||
return;
|
||||
}
|
||||
if (selectedKb.value === ERP_KB) {
|
||||
|
||||
Reference in new issue
Block a user