mirror of
https://github.com/PaiGramTeam/luoxu-api-pub.git
synced 2024-11-25 17:35:39 +00:00
fix event being passed to do_search
This commit is contained in:
parent
466ca11cbb
commit
15ea98e281
@ -125,7 +125,7 @@
|
||||
on:input={() => error = ''}
|
||||
on:keyup={e => {if(e.key == 'Enter'){do_search()}}}
|
||||
/>
|
||||
<button on:click={do_search}>搜索</button>
|
||||
<button on:click={() => do_search()}>搜索</button>
|
||||
</div>
|
||||
|
||||
{#if error}
|
||||
|
Loading…
Reference in New Issue
Block a user