摘要: 在线例子:http://lgy.1zwq.com/dateSwitch/月份的判定,由于涉及到过多了判定条件,如果用if else会大大降低性能,建议用switch 语法 getDays:function(year,month){ // var aDay = [31,28|29,31... 阅读全文
posted @ 2014-03-09 12:38 LGY_永 阅读(840) 评论(0) 推荐(1) 编辑