mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 03:22:52 +09:00
絵文字ピッカーでエンターしたときに検索結果の先頭のもので確定できるように
This commit is contained in:
parent
82d69ad856
commit
73237788f2
@ -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 New Issue
Block a user