Fixes: Fixed some bugs #10703 (#11200)

### What problem does this PR solve?

Fixes: Fixed some bugs #10703

- Removed login page animation
- Modified some styles in the user profile center

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-12 12:53:41 +08:00
committed by GitHub
parent 1e8efa2631
commit 829e5f287b
8 changed files with 34 additions and 23 deletions

View File

@ -189,7 +189,7 @@ export const DataSourceFormFields = {
name: 'config.credentials.google_tokens',
type: FormFieldType.Textarea,
required: true,
render: (fieldProps) => (
render: (fieldProps: any) => (
<GoogleDriveTokenField
value={fieldProps.value}
onChange={fieldProps.onChange}

View File

@ -161,7 +161,7 @@ const SystemSetting = ({ onOk, loading }: IProps) => {
value={value}
options={options}
onChange={(value) => handleFieldChange(id, value)}
placeholder={tcommon('selectPlaceholder')}
placeholder={t('selectModelPlaceholder')}
/>
</div>
);

View File

@ -123,16 +123,14 @@ export const AvailableModels: FC<{
<div
key={model.name}
className=" border border-border-button rounded-lg p-3 hover:bg-bg-input transition-colors group"
onClick={() => handleAddModel(model.name)}
>
<div className="flex items-center space-x-3 mb-3">
<LlmIcon name={model.name} imgClass="h-8 w-8 text-text-primary" />
<div className="flex-1">
<h3 className="font-medium truncate">{model.name}</h3>
</div>
<Button
className=" px-2 items-center gap-0 text-xs h-6 rounded-md transition-colors hidden group-hover:flex"
onClick={() => handleAddModel(model.name)}
>
<Button className=" px-2 items-center gap-0 text-xs h-6 rounded-md transition-colors hidden group-hover:flex">
<Plus size={12} />
{t('addTheModel')}
</Button>