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

新建空白项目并预览时,出现上次编辑的数据大屏 #95

Open
SiriusFang2020 opened this issue Sep 20, 2023 · 1 comment

Comments

@SiriusFang2020
Copy link

操作演示

deb307271ed3fe726617da2ceeefab99.mp4

当前解决方案

在新建按钮的那个单击事件里清空所有快照,目前不知道会不会有什么隐患
1ca623ae6e404b2f6d61ba196864d65

@qwecxzpoi
Copy link
Contributor

预览的原理就是读取的浏览器 indexedDB 里面最后一条数据,所以会造成这样的 BUG。你这样清除倒也没啥问题,就是历史记录没了。

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

2 participants