摘要: 1. break、continue 一般用于for循环、swith语句中; break 用于终止循环,跳出包含在最内层的循环; continue 用于跳过本层循环,直接执行下层循环语句; return 深层解析 (1). 事件冒泡 :当一个元素接收到事件的时候 会把他接收到的事件传给自己的父级,一直 阅读全文
posted @ 2019-02-23 10:12 Zero_追梦 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: 1. 卸载当前版本 npm uninstall g angular cli 2. 清除未卸载干净的angular cli缓存 npm cache clean f 3. 到安装目录查看是否卸载干净 find /usr name ng 4. 若未卸载干净(第三步有内容输出),则去到对应的目录删除;如若卸 阅读全文
posted @ 2019-02-23 09:49 Zero_追梦 阅读(9349) 评论(1) 推荐(0) 编辑
摘要: 说明: 组件使用了ng zorro (https://ng.ant.design/docs/introduce/zh) 第一类:嵌套表单 1. 静态表单嵌套 demo.component.html demo.component.ts 2. 动态表单嵌套 (数组式添加) 1. demo.compone 阅读全文
posted @ 2019-02-23 09:29 Zero_追梦 阅读(4369) 评论(0) 推荐(0) 编辑