📜  vuejs localstorage 增值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:18.948000             🧑  作者: Mango

代码示例1
//You can just do following to save in localStorage
localStorage.setItem('YourItem', response.data)

// You can fetch this using:
localStorage.getItem('YourItem')


//To delete this from localStorage:
localStorage.removeItem('YourItem')