摘要: 同一个项目想要分别部署两个环境,测试环境和生产环境 正常打包命令, ng build --prod --bh /dist/ 这样打出的包就叫做dist的文件夹部署在测试环境。 之后修改域名后想要重新打不同的包,部署在生产环境中运行 修改如下步骤,就能在同一项目中打出多个包且互不影响。 找到tscon 阅读全文
posted @ 2018-03-13 18:35 happiness木木 阅读(142) 评论(0) 推荐(0) 编辑
摘要: //初始存数据 $http.get("querySportteryLeagues.do") .success(function (result) { localStorage.setItem ("a",result); }) $("#endDate").blur(function(){ if($(" 阅读全文
posted @ 2018-03-13 18:25 happiness木木 阅读(427) 评论(0) 推荐(0) 编辑
摘要: json格式: [ { "time":"12:00", "num":[ { "a":"10", "b":"2", "c":"6" } ] }, { "time":"13:00", "num":[ { "a":"100", "b":"30", "c":" 阅读全文
posted @ 2018-03-13 18:19 happiness木木 阅读(137) 评论(0) 推荐(0) 编辑