摘要: 一个比较正确的使用方法:https://github.com/xieziyu/ngx-echarts 1、 npm install echarts --save npm install ngx-echarts --save 如果网速差,可以使用淘宝镜像 2、项目中.angular-cli.json 阅读全文
posted @ 2017-10-22 23:05 断弦✦浪ლ小子 阅读(2503) 评论(0) 推荐(0) 编辑
摘要: 1.安装ngx-echarts npm install echarts --save npm install ngx-echarts --save 2.在项目中引入echarts 在项目包配置文件中引入js脚本 //angular-cli.json文件 { "apps": [{ "scripts": 阅读全文
posted @ 2017-10-22 23:02 断弦✦浪ლ小子 阅读(2587) 评论(0) 推荐(0) 编辑
摘要: HTMl5的sessionStorage和localStorage html5中的Web Storage包括了两种存储方式:sessionStorage和localStorage。 sessionStorage用于本地存储一个会话(session)中的数据,这些数据只有在同一个会话中的页面才能访问并 阅读全文
posted @ 2017-10-22 22:31 断弦✦浪ლ小子 阅读(127) 评论(0) 推荐(0) 编辑