摘要: 做登录功能的时候登录成功后需要将信息放入cookie中,npm install了好几个angular2-cookie ng2-cookies angular2-cookies 按照上面的方法,总是报错,方法未定义,百度谷歌无果 最终转用localStorage,HTML5的本地存储方案之一,简单好用 阅读全文
posted @ 2016-06-20 11:27 长安L 阅读(718) 评论(1) 推荐(1) 编辑