refactor: edit btn add
This commit is contained in:
parent
ff6d53f958
commit
d79a28d31c
1 changed files with 11 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ defineProps<{
|
|||
<template>
|
||||
<q-page-sticky position="bottom-right" :offset="[8, 8]">
|
||||
<q-fab
|
||||
v-if="!hideIcon"
|
||||
id="btn-add"
|
||||
padding="sm"
|
||||
icon="mdi-plus"
|
||||
|
|
@ -22,6 +23,16 @@ defineProps<{
|
|||
/>
|
||||
</slot>
|
||||
</q-fab>
|
||||
|
||||
<q-btn
|
||||
v-else
|
||||
fab
|
||||
id="btn-add"
|
||||
padding="sm"
|
||||
icon="mdi-plus"
|
||||
direction="up"
|
||||
class="color-btn"
|
||||
/>
|
||||
</q-page-sticky>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue