例如,我想在html取本地缓存的token,可以在html的js里这样写去获取
document.addEventListener("plusready",function(){
token = plus.storage.getItem('token');
},false);
例如,我想在html取本地缓存的token,可以在html的js里这样写去获取
document.addEventListener("plusready",function(){
token = plus.storage.getItem('token');
},false);