么有用官方模板,vue.js + axios.js 纯HTML前端,纯属个人娱乐

传值方式:

//存
localStorage["uid"]=res.data.data.userId;
window.location.href = "/index.html";

index.html界面取

console.log(localStorage["uid"]);

参考:
https://segmentfault.com/q/1010000000308712

Logo

前往低代码交流专区

更多推荐