fix(02): form q-file icon

This commit is contained in:
puriphatt 2024-07-26 02:53:24 +00:00
parent 54e3876019
commit 97dd655d00

View file

@ -5,6 +5,7 @@ import { dialog } from 'src/stores/utils';
import { dateFormat, parseAndFormatDate } from 'src/utils/datetime';
import { ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { Icon } from '@iconify/vue';
const { locale } = useI18n();
const userStore = useUserStore();
@ -328,6 +329,13 @@ function deleteFile(name: string) {
class="col-12"
v-model="agencyFile"
>
<template v-slot:prepend>
<Icon
icon="material-symbols:attach-file"
width="20px"
style="color: var(--brand-1)"
/>
</template>
<template v-slot:file="file">
<div class="row full-width items-center">
<span class="col ellipsis">