mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fixes: Bugs fixed - Removed invalid code, - Modified the user center style, - Added an automatic data source parsing switch. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -140,7 +140,7 @@ const SystemSetting = ({ onOk, loading }: IProps) => {
|
||||
}) => {
|
||||
return (
|
||||
<div className="flex gap-3">
|
||||
<label className="block text-sm font-medium text-text-primary mb-1 w-1/4">
|
||||
<label className="block text-sm font-medium text-text-secondary mb-1 w-1/4">
|
||||
{isRequired && <span className="text-red-500">*</span>}
|
||||
{label}
|
||||
{tooltip && (
|
||||
@ -157,6 +157,7 @@ const SystemSetting = ({ onOk, loading }: IProps) => {
|
||||
</label>
|
||||
<SelectWithSearch
|
||||
triggerClassName="w-3/4"
|
||||
allowClear={id !== 'llm_id'}
|
||||
value={value}
|
||||
options={options}
|
||||
onChange={(value) => handleFieldChange(id, value)}
|
||||
@ -169,7 +170,7 @@ const SystemSetting = ({ onOk, loading }: IProps) => {
|
||||
return (
|
||||
<div className="rounded-lg w-full">
|
||||
<div className="flex flex-col py-4">
|
||||
<div className="text-2xl font-semibold">{t('systemModelSettings')}</div>
|
||||
<div className="text-2xl font-medium">{t('systemModelSettings')}</div>
|
||||
<div className="text-sm text-text-secondary">
|
||||
{t('systemModelDescription')}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user