RobinCK / vue-ls

:boom: Vue plugin for work with local storage, session storage and memory storage from Vue context 🇺🇦
https://robinck.gitbooks.io/vue-storage/
MIT License
538 stars 49 forks source link

Can't use SessionStorage #192

Closed tracome closed 1 year ago

tracome commented 1 year ago

const storageOptions= { namespace: 'pro__', // key prefix name: 'ls', // name variable Vue.[ls] or this.[$ls], storage: 'session', // storage name session, local, memory }

change storage name to session is not effective

tracome commented 1 year ago

I found the reason, because I repeatedly referenced in different files