perf(固资管理): 对接dify平台进行查询固资

This commit is contained in:
runny committed 2026-06-23 00:34:54 +08:00
1 parent 7300098ff9
commit ddb704f574
3 files changed
+3 -17

No files matched your search

@@ -9,7 +9,6 @@ import {
Check,
ChevronDown,
Database,
Globe,
Link2,
Loader2,
Mic,
@@ -44,12 +43,10 @@ const props = defineProps<{
/** 用对象包裹 Ref,避免 template 自动解包 */
shippingPickerRefHolder: { pickerRef: Ref<HTMLInputElement | null> };
getKbLabel: (kb: string) => string;
browserPanelOpen: boolean;
}>();
const emit = defineEmits<{
send: [];
'toggle-browser': [];
'voice-click': [];
'remove-attachment': [id: string];
'local-files-selected': [event: Event];
@@ -312,16 +309,6 @@ onBeforeUnmount(() => {
</button>
</div>
</div>
<button
type="button"
:disabled="isThinking"
class="flex items-center gap-1 rounded-lg border border-default px-3 py-1.5 text-xs font-medium text-secondary transition-colors hover:bg-surface-soft disabled:cursor-not-allowed disabled:opacity-50"
@click="emit('toggle-browser')"
>
<Globe class="h-3.5 w-3.5 text-brand-500" />
{{ browserPanelOpen ? $t('chat.collapseBrowser') : $t('chat.openBrowser') }}
</button>
</div>
<button