refactor: add onclick on search icon,prettier
This commit is contained in:
parent
2bf5fe09b3
commit
41cf5c2b2b
2 changed files with 12 additions and 3 deletions
|
|
@ -107,7 +107,9 @@ async function searchSubmit() {
|
|||
id="inputSearch"
|
||||
@keydown.enter.prevent="searchSubmit"
|
||||
>
|
||||
<template v-slot:append><q-icon name="search" /></template>
|
||||
<template v-slot:append
|
||||
><q-icon name="search" class="pointer" @click="searchSubmit"
|
||||
/></template>
|
||||
</q-input>
|
||||
</div>
|
||||
|
||||
|
|
@ -173,3 +175,9 @@ async function searchSubmit() {
|
|||
<q-separator />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue