refactor edit btn add
This commit is contained in:
parent
04bd1b0ba5
commit
4dce5a5b92
2 changed files with 20 additions and 43 deletions
|
|
@ -1,4 +1,8 @@
|
|||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
hideIcon?: boolean;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-page-sticky position="bottom-right" :offset="[8, 8]">
|
||||
|
|
@ -10,7 +14,12 @@
|
|||
class="color-btn"
|
||||
>
|
||||
<slot>
|
||||
<q-fab-action padding="xs" color="primary" icon="mdi-account-plus" />
|
||||
<q-fab-action
|
||||
padding="xs"
|
||||
color="primary"
|
||||
icon="mdi-account-plus"
|
||||
v-if="!hideIcon"
|
||||
/>
|
||||
</slot>
|
||||
</q-fab>
|
||||
</q-page-sticky>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue