摘要: function isEmpty(v) { switch (typeof v) { case 'undefined': return true; case 'string': if (v.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) 阅读全文
posted @ 2022-07-26 10:15 从入门到入土 阅读(275) 评论(0) 推荐(0) 编辑