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>
|
<template>
|
||||||
<q-page-sticky position="bottom-right" :offset="[8, 8]">
|
<q-page-sticky position="bottom-right" :offset="[8, 8]">
|
||||||
<q-fab
|
<q-fab
|
||||||
|
v-if="!hideIcon"
|
||||||
id="btn-add"
|
id="btn-add"
|
||||||
padding="sm"
|
padding="sm"
|
||||||
icon="mdi-plus"
|
icon="mdi-plus"
|
||||||
|
|
@ -22,6 +23,16 @@ defineProps<{
|
||||||
/>
|
/>
|
||||||
</slot>
|
</slot>
|
||||||
</q-fab>
|
</q-fab>
|
||||||
|
|
||||||
|
<q-btn
|
||||||
|
v-else
|
||||||
|
fab
|
||||||
|
id="btn-add"
|
||||||
|
padding="sm"
|
||||||
|
icon="mdi-plus"
|
||||||
|
direction="up"
|
||||||
|
class="color-btn"
|
||||||
|
/>
|
||||||
</q-page-sticky>
|
</q-page-sticky>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue