js中“/”不需要转义。
if(myPath.indexOf("/Upload/EmailFile/")!=-1){ alert("有附件!")}
posted on 2017-01-13 15:04 荆棘人 阅读(1415) 评论(0) 收藏 举报