随笔 - 156
文章 - 0
评论 - 35
阅读 -
72万
07 2017 档案
前端编程tips
摘要:1.ts less 网上搜视频教程,不用太复杂的,短短几分钟视频基本就对其入门了,比自己搜官网学习更方便。 常用的ts技术:let name:string=""; let obj:ClassName={}; let array:class[]=[]; as HTMLDivElement, inter
阅读全文
扁平数组构建DOM树
摘要:if (parentOrg) { if (parentOrg.children) { parentOrg.children.push(org); } else { parentOrg.children = []; parentOrg.children.push(org); } } else { r.
阅读全文
Code Review
摘要:1.判断两个空数组相等 (Array.isArray(oldValue) && Array.isArray(newValue)) { if (Utility.ArrayIsEqual(oldValue, newValue)) { continue; } } static ArrayIsEqual(v
阅读全文