openDataV icon indicating copy to clipboard operation
openDataV copied to clipboard

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

Open SiriusFang2020 opened this issue 1 year ago • 1 comments

操作演示

https://github.com/AnsGoo/openDataV/assets/59632817/4175c07c-c13d-42ec-8118-a4caba3097c9

当前解决方案

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

SiriusFang2020 avatar Sep 20 '23 13:09 SiriusFang2020

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

qwecxzpoi avatar Oct 21 '23 14:10 qwecxzpoi