localstorage data disappear after refresh page
yifeng-two opened this issue · 3 comments
yifeng-two commented
use it with localstorage in vue3,store used pinia,localstorage data disappear after refresh page
typicode commented
I tried and couldn't reproduce the issue. If you still have the problem feel free to reopen. Also could you provide a failing case in a repo or CodeSandbox.
yifeng-two commented
I have solve this problem,it is caused by using a wrong way with lodash,after set default data should not use db.write()。
千里之外
***@***.***
…------------------ 原始邮件 ------------------
发件人: "typicode/lowdb" ***@***.***>;
发送时间: 2022年10月24日(星期一) 凌晨4:36
***@***.***>;
***@***.******@***.***>;
主题: Re: [typicode/lowdb] localstorage data disappear after refresh page (Issue #551)
I tried and couldn't reproduce the issue. If you still have the problem feel free to reopen. Also could you provide a failing case in a repo or CodeSandbox.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
typicode commented
Thanks for the update