去掉作者邮箱 查询正则

This commit is contained in:
2024-06-25 09:43:47 +08:00
parent 118153b1ad
commit 3f75eea441

View File

@@ -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) {