mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 21:35:52 +08:00
fix: increase max cache limit and update slider marks in MiniAppSettings (#6414)
* fix: increase max cache limit and update slider marks in MiniAppSettings * fix: adjust max cache limit and update slider marks in MiniAppSettings * Update MiniAppSettings.tsx --------- Co-authored-by: George Zhao <georgezhao@SKJLAB>
This commit is contained in:
parent
cf1d5c098f
commit
02cb005668
@ -120,13 +120,13 @@ const MiniAppSettings: FC = () => {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Slider
|
<Slider
|
||||||
min={1}
|
min={1}
|
||||||
max={5}
|
max={10}
|
||||||
value={maxKeepAliveMinapps}
|
value={maxKeepAliveMinapps}
|
||||||
onChange={handleCacheChange}
|
onChange={handleCacheChange}
|
||||||
marks={{
|
marks={{
|
||||||
1: '1',
|
1: '1',
|
||||||
3: '3',
|
5: '5',
|
||||||
5: '5'
|
10: 'Max'
|
||||||
}}
|
}}
|
||||||
tooltip={{ formatter: (value) => `${value}` }}
|
tooltip={{ formatter: (value) => `${value}` }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user