feat: Increase the upper limit of web search results (#7439)

* fix(WebSearchSettings): 将最大搜索结果限制从20增加到50

* fix(WebSearchSettings): 调整搜索结果滑块宽度并添加50的标记
This commit is contained in:
Wang Jiyuan 2025-06-27 22:33:27 +08:00 committed by GitHub
parent c7c1cf2552
commit 2d3f5baf72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,11 +28,11 @@ const BasicSettings: FC = () => {
<SettingRowTitle>{t('settings.websearch.search_max_result')}</SettingRowTitle>
<Slider
defaultValue={maxResults}
style={{ width: '200px' }}
style={{ width: '500px' }}
min={1}
max={20}
max={50}
step={1}
marks={{ 1: '1', 5: t('settings.websearch.search_result_default'), 20: '20' }}
marks={{ 1: '1', 5: t('settings.websearch.search_result_default'), 20: '20', 50: '50' }}
onChangeComplete={(value) => dispatch(setMaxResult(value))}
/>
</SettingRow>