摘要: 将判断及处理定义为一个策略对象,key为判断条件,值为函数,可带参。 var strategy = { 'a':function(count){ return count*1; }, 'b':function(count){ return count*2; }, 'c':function(count 阅读全文
posted @ 2020-08-03 08:27 你风致 阅读(704) 评论(0) 推荐(0) 编辑