feat: 更新模型获取逻辑,处理返回的模型数组并添加鉴权头

This commit is contained in:
DrSmoothl
2026-05-02 00:08:12 +08:00
parent 9e48cd2848
commit b132a64de6
3 changed files with 18 additions and 2 deletions

View File

@@ -138,7 +138,11 @@ export function ProviderForm({
</DialogDescription>
</DialogHeader>
<form onSubmit={(e) => { e.preventDefault(); handleSaveEdit(); }} autoComplete="off">
<form
onSubmit={(e) => { e.preventDefault(); handleSaveEdit(); }}
autoComplete="off"
className="contents"
>
<DialogBody>
<div className="grid gap-4 py-4">
<div className="grid gap-2" data-tour="provider-template-select">