uni-app 本地储存

存数据 :
uni.setStorage({
     
key:”storage_token",
data:"值111111"
})
/---------------------------
取值:    
    let token = uni.getStorageSync('storage_token');
    console.log(token);


删除
uni.removeStorageSync('storage_key');



你可能感兴趣的:(uni-app,javascript,vue.js,css,html)