摘要:
function removeNull(option) { if (!option) { return; } for (var attr in option) { if (option[attr] === null && attr !== 'teacherId') { delete option[attr]; ... 阅读全文
posted @ 2019-01-27 18:12
星陨的菲
阅读(2898)
评论(0)
推荐(0)
摘要:
// 字符串的下划线格式转驼峰格式,eg:hello_world => helloWorld function underline2Hump(word) { return word.replace(/_(\w)/g, function (all, letter) { return letter.to 阅读全文
posted @ 2019-01-27 18:08
星陨的菲
阅读(634)
评论(0)
推荐(0)