vue获取session中的值

let myName=JSON.parse(sessionStorage.getItem("userInfo")); 

你可能感兴趣的:(vue,vue)