Commit 566a7b1c authored by 叙曲's avatar 叙曲

Merge branch 'yiruiwen'

# Conflicts:
#	README.md
parents b9f12d85 e50e5e40
......@@ -25,7 +25,8 @@ uView UI,是[uni-app](https://uniapp.dcloud.io/)生态优秀的UI框架,全
### 官方4群:1084514613(已满)
### 官方5群:863820668(已满)
### 官方6群:745721078(已满)
### [点击加7群交流反馈:627867855](https://jq.qq.com/?_wv=1027&k=U61Rx49A)
### 官方7群:627867855(已满)
### [点击加7群交流反馈:627867855](https://jq.qq.com/?_wv=1027&k=ZHFDsWUV)
## 特性
......
......@@ -2,7 +2,7 @@
* 验证电子邮箱格式
*/
function email(value) {
return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
return /[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?/.test(value);
}
/**
......
{
"name": "uview-ui",
"version": "1.8.3",
"version": "1.8.4",
"description": "uView UI,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
"main": "index.js",
"keywords": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment