去掉作者邮箱 查询正则
This commit is contained in:
@@ -1585,9 +1585,10 @@ export default {
|
||||
|
||||
// 邮箱用户模糊搜索
|
||||
chaMateFit(value, cb, num) {
|
||||
console.log('num at line 1587:', value)
|
||||
// var mailRegular = /^\w+([-+._']\w+)*@\w+(\.[a-zA-Z]{2,3}){1,2}$/
|
||||
var mailRegular = /^\w+([-+._']\w+)*@/;
|
||||
if (mailRegular.test(value)) {
|
||||
// if (mailRegular.test(value)) {
|
||||
this.form.authorList[num].load = true;
|
||||
// this.$forceUpdate();
|
||||
this.$api
|
||||
@@ -1608,7 +1609,7 @@ export default {
|
||||
this.form.authorList[num].load = false;
|
||||
this.$forceUpdate();
|
||||
});
|
||||
}
|
||||
// }
|
||||
},
|
||||
|
||||
createMata(queryString) {
|
||||
|
||||
Reference in New Issue
Block a user