XiaoDaiGua-Ray
Results
5
comments of
XiaoDaiGua-Ray
I encountered the same situation as you, after emulating the storage of a value, I used `Object.keys(window.localStorage)` to get an empty array.
@Sepush 应该已经解决了,麻烦检查一下,谢谢。
能否给一个示例,否则不知道你的使用场景和需求是什么
或许你可以自己使用 Promise 包裹一层,这边暂时不考虑异步行为。
你的写法有点不对,明天我尝试还原你的使用场景给你一个答复。感谢你的支持~