mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-13 07:45:41 +08:00
fix(Application): search menu now correctly lowercases input keys (#3842)
This commit is contained in:
@@ -49,7 +49,7 @@ export function useMenuSearch(refs: Ref<HTMLElement[]>, scrollWrap: Ref, emit: A
|
||||
function search(e: ChangeEvent) {
|
||||
e?.stopPropagation();
|
||||
const key = e.target.value;
|
||||
keyword.value = key.trim();
|
||||
keyword.value = key.trim().toLowerCase();
|
||||
if (!key) {
|
||||
searchResult.value = [];
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user