var reg = /[\r\n]+/g;
if(reg.test(reason)){
PopAlert("不能有换行符!");
return;
}
posted on 2016-02-23 18:09  Sign_Black  阅读(2201)  评论(0编辑  收藏  举报