上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: 1.angular.json 文件中在architect 下添加 buildTest指令 距离位置 2.配置测试环境打包指令 打开package.json文件 在script中添加 3.使用 npm run buildTest 这时候就会执行测试环境的打包指令 并且会在 dist/insurance 阅读全文
posted @ 2019-09-26 10:38 飞尽堂前燕 阅读(1747) 评论(1) 推荐(0)
摘要: ProvinceCityList = [{ 'name': '上海市', 'child': [ { 'name': '奉贤区', 'cp': [121.458472, 30.912345] }, { 'name': '崇明区', 'cp': [121.397516, 31.626946] }, { 'name': '浦东新区', 'cp': [121.567706, 31.245944] }, { 阅读全文
posted @ 2019-09-18 16:07 飞尽堂前燕 阅读(1366) 评论(0) 推荐(0)
摘要: 通过源码方法获取这里的分割数字长度 使用方法 阅读全文
posted @ 2019-09-12 13:27 飞尽堂前燕 阅读(561) 评论(0) 推荐(0)
摘要: 在package.json 中添加 阅读全文
posted @ 2019-09-10 16:07 飞尽堂前燕 阅读(2502) 评论(0) 推荐(0)
摘要: 下载echarts2和echarts4的源码,然后在index.html中 1.先引入echarts4版本 2.然后引入echarts2版本 并且将echarts2源码中所有echarts 替换为echarts2 使用的时候 如果需要使用版本4 如果要使用版本2 阅读全文
posted @ 2019-08-19 10:15 飞尽堂前燕 阅读(918) 评论(0) 推荐(0)
摘要: pointSize这个属性在echarts 官方文档上并没有找到,但是源码中的确有pointSize的选项 echart 实例地址https://gallery.echartsjs.com/editor.html?c=x8IJn-BkTO 阅读全文
posted @ 2019-08-16 18:03 飞尽堂前燕 阅读(4643) 评论(0) 推荐(0)
摘要: 1.导入 world.china.js 这个js是将world.js 文件 以及china.js文件进行合并 (网上一些中国地图勾勒的身份曲线感觉很飘 所以自己加工了一下china.js中的数据, 然后合并到了word.js中) (可以在这里进行下载 https://github.com/a1115 阅读全文
posted @ 2019-08-12 17:59 飞尽堂前燕 阅读(2811) 评论(0) 推荐(0)
摘要: const fs = require("fs") const path = require("path") main(); function main() { const rootRealPath = path.resolve(__dirname); const newDirName = 'newF 阅读全文
posted @ 2019-08-05 13:11 飞尽堂前燕 阅读(676) 评论(0) 推荐(0)
摘要: 使用方式 将此js文件拖放到需要批量删除的文件夹目录列表中 执行(xxxx是你命名的js名字) 阅读全文
posted @ 2019-08-03 22:06 飞尽堂前燕 阅读(1292) 评论(0) 推荐(0)
摘要: 1.升级全局angular-cli 2.升级项目内 angular-cli (在需要升级的项目中运行) 3.升级剩下的所有组件 4.更新所有需要安装的组件 (在需要升级的项目下) 如果出现报错信息类似于如下这种 ERROR in ./src/polyfills.tsModule not found: 阅读全文
posted @ 2019-07-24 09:58 飞尽堂前燕 阅读(1708) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页