Fix: When large models output data rapidly, the scrollbar cannot remain at the bottom. #12701 (#12702)

### What problem does this PR solve?



### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2026-01-19 19:09:41 +08:00
committed by GitHub
parent 4fbaa4aae9
commit 05da2a5872
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ const storage = {
localStorage.setItem(Token, value);
},
setUserInfo: (value: string | Record<string, unknown>) => {
let valueStr = typeof value !== 'string' ? JSON.stringify(value) : value;
const valueStr = typeof value !== 'string' ? JSON.stringify(value) : value;
localStorage.setItem(UserInfo, valueStr);
},
setItems: (pairs: Record<string, string>) => {