mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
絵文字ピッカーでエンターしたときに検索結果の先頭のもので確定できるように
This commit is contained in:
parent
82d69ad856
commit
73237788f2
1 changed files with 8 additions and 0 deletions
|
@ -361,6 +361,14 @@ export default defineComponent({
|
|||
this.chosen(exactMatchUnicode);
|
||||
return true;
|
||||
}
|
||||
if (this.searchResultCustom.length > 0) {
|
||||
this.chosen(this.searchResultCustom[0]);
|
||||
return true;
|
||||
}
|
||||
if (this.searchResultUnicode.length > 0) {
|
||||
this.chosen(this.searchResultUnicode[0]);
|
||||
return true;
|
||||
}
|
||||
},
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue