add iconfont && trim email

This commit is contained in:
Pan
2017-04-26 14:50:02 +08:00
parent 45c11f9fe4
commit db83dd50d1
4 changed files with 32 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
/* 是否是公司邮箱*/
export function isWscnEmail(str) {
const reg = /^[a-z0-9](?:[-_.+]?[a-z0-9]+)*@wallstreetcn\.com$/i;
return reg.test(str);
return reg.test(str.trim());
}
/* 合法uri*/