|
@@ -114,7 +114,8 @@ export default {
|
|
|
item.userName
|
|
|
.toLowerCase()
|
|
|
.indexOf(query.toString().toLowerCase()) > -1 ||
|
|
|
- item.userId == query;
|
|
|
+ item.userId == query || item.mobile.indexOf(query) > -1 ;
|
|
|
+ // console.log(item.mobile,'query',query,item.mobile.indexOf(query))
|
|
|
if (this.multiple) {
|
|
|
return flag || this.value.includes(item.userId);
|
|
|
} else {
|
|
@@ -128,7 +129,6 @@ export default {
|
|
|
try {
|
|
|
await this.getList();
|
|
|
const optionids = this.options.map((item) => item.userId);
|
|
|
-
|
|
|
const valueItem = this.listById[this.value];
|
|
|
if (!optionids.includes(this.value) && valueItem) {
|
|
|
this.options.push(valueItem);
|