Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开关回想画面时会出现卡顿 #580

Open
MakinoharaShoko opened this issue Nov 3, 2024 · 0 comments
Open

开关回想画面时会出现卡顿 #580

MakinoharaShoko opened this issue Nov 3, 2024 · 0 comments

Comments

@MakinoharaShoko
Copy link
Member

解决方法:
1、进一步降低回想存储的存档数目,必要时可以降低到 100 个以下
2、对于没有对话的语句,不展示对应的元素
3、不要用 JSON.stringify 整个 backlog 这种方案管理依赖函数,而是通过其他方式,比如只比较最近10条 backlog。
4、在回想打开时,不要卸载文本框,而是将其 opacity 设置为 0 即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant