fix viewPdf

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-12 14:33:13 +07:00
parent 6b980a118b
commit 3a91744cc4

View file

@ -31,7 +31,6 @@ const isLoadPDF = ref<boolean>(false); // Loading display pdf
const pdfSrc = ref<any>(null); // PDF path display
const page = ref<number>(1); //
const numOfPages = ref<number>(0); // PDF
const splitterModel = ref(14);
const typeFile = ref<string>(type.value === "cover" ? "docx" : "xlsx"); // cover=docx attachment=xlsx
// next page PDF
function nextPage() {
@ -268,7 +267,6 @@ defineExpose({
</div>
<div class="col-12">
<q-splitter
v-model="splitterModel"
horizontal
style="
height: 70vh;