您对我收到错误的原因有任何想法
SyntaxError:JSON.parse:意外字符
关于此代码
console.log($cookieStore.get('XSRF-TOKEN'));
Cookie值为
kscJcqrDYSMdZtBleuq8yUrB
var currentSession = req.session.passport;
var user = currentSession.user;
res.cookie('USER',JSON.stringify(user) , { maxAge: 900000, httpOnly: false});