摘要:
function removeNull(option) { if (!option) { return; } for (var attr in option) { if (option[attr] === null && attr !== 'teacherId') { delete option[attr]; ... 阅读全文
摘要:
// 字符串的下划线格式转驼峰格式,eg:hello_world => helloWorld function underline2Hump(word) { return word.replace(/_(\w)/g, function (all, letter) { return letter.to 阅读全文