เพิ่ม href => PDF

This commit is contained in:
setthawutttty 2023-08-24 13:00:33 +07:00
parent dbcf1f0106
commit 955e651dae
2 changed files with 8 additions and 2 deletions

View file

@ -135,7 +135,7 @@
{{ props.row.fileName }}
</q-td>
<q-td key="btnMicrosoft" :props="props">
<q-btn flat dense round color="red" icon="picture_as_pdf">
<q-btn type="a" target="_blank" :href="props.row.pathName" flat dense round color="red" icon="picture_as_pdf">
<q-tooltip>ไฟล PDF</q-tooltip>
</q-btn>
<q-btn flat dense round color="blue" icon="mdi-file-word">