fix: iconify component
This commit is contained in:
parent
c00df1b1c7
commit
156cfcc35c
3 changed files with 12 additions and 14 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { ref, watch } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Icon } from '@iconify/vue';
|
||||
|
||||
const { t, locale } = useI18n();
|
||||
const router = useRouter();
|
||||
|
|
@ -86,7 +87,7 @@ function navigateTo(label: string, destination: string) {
|
|||
<q-item-section id="btn-drawer-back ">
|
||||
<q-item-label class="q-pl-lg">
|
||||
<div class="box-border-left" />
|
||||
<iconify-icon :icon="v.icon" />
|
||||
<Icon :icon="v.icon" width="24px" class="q-mr-md" />
|
||||
<!-- <q-icon :name="v.icon" size="sm" class="q-mr-xs" /> -->
|
||||
|
||||
{{ $t(v.label) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue