随笔分类 - angularjs
摘要:1.angular.copy angular.copy(source, [destination]); // source: copy的对象. 可以使任意类型, 包括null和undefined. destination:接收的对象 返回复制或更新后的对象 如果省略了destination,一个新的
阅读全文
摘要:function getInfo(year, month) { var getInfo = function (year, month) { var d = new Date(); d.setFullYear(year, month - 1, 1); var w1 = d.getDay(...
阅读全文