fix viewPdf
This commit is contained in:
parent
6b980a118b
commit
3a91744cc4
1 changed files with 0 additions and 2 deletions
|
|
@ -31,7 +31,6 @@ const isLoadPDF = ref<boolean>(false); // Loading display pdf
|
||||||
const pdfSrc = ref<any>(null); // PDF path display
|
const pdfSrc = ref<any>(null); // PDF path display
|
||||||
const page = ref<number>(1); // หน้าที่แสดง
|
const page = ref<number>(1); // หน้าที่แสดง
|
||||||
const numOfPages = ref<number>(0); // จำนวนหน้า PDF ทั้งหมด
|
const numOfPages = ref<number>(0); // จำนวนหน้า PDF ทั้งหมด
|
||||||
const splitterModel = ref(14);
|
|
||||||
const typeFile = ref<string>(type.value === "cover" ? "docx" : "xlsx"); // นามสกุลไฟล์ cover=docx หรือ attachment=xlsx
|
const typeFile = ref<string>(type.value === "cover" ? "docx" : "xlsx"); // นามสกุลไฟล์ cover=docx หรือ attachment=xlsx
|
||||||
// next page PDF
|
// next page PDF
|
||||||
function nextPage() {
|
function nextPage() {
|
||||||
|
|
@ -268,7 +267,6 @@ defineExpose({
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<q-splitter
|
<q-splitter
|
||||||
v-model="splitterModel"
|
|
||||||
horizontal
|
horizontal
|
||||||
style="
|
style="
|
||||||
height: 70vh;
|
height: 70vh;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue