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
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true
|
"singleQuote": true,
|
||||||
}
|
"trailingComma": "all"
|
||||||
|
}
|
||||||
|
|
@ -107,7 +107,9 @@ async function searchSubmit() {
|
||||||
id="inputSearch"
|
id="inputSearch"
|
||||||
@keydown.enter.prevent="searchSubmit"
|
@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>
|
</q-input>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -173,3 +175,9 @@ async function searchSubmit() {
|
||||||
<q-separator />
|
<q-separator />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.pointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue