fix(PdfPreview): 启用pdfImageView以正确显示PDF图像
修复PDF预览组件中pdfImageView选项被错误禁用的问题,确保PDF图像能够正确显示。
Showing
2 changed files
with
1 additions
and
2 deletions
| ... | @@ -34,7 +34,6 @@ declare module 'vue' { | ... | @@ -34,7 +34,6 @@ declare module 'vue' { |
| 34 | VanCheckbox: typeof import('vant/es')['Checkbox'] | 34 | VanCheckbox: typeof import('vant/es')['Checkbox'] |
| 35 | VanDatePicker: typeof import('vant/es')['DatePicker'] | 35 | VanDatePicker: typeof import('vant/es')['DatePicker'] |
| 36 | VanDialog: typeof import('vant/es')['Dialog'] | 36 | VanDialog: typeof import('vant/es')['Dialog'] |
| 37 | - VanDivider: typeof import('vant/es')['Divider'] | ||
| 38 | VanEmpty: typeof import('vant/es')['Empty'] | 37 | VanEmpty: typeof import('vant/es')['Empty'] |
| 39 | VanField: typeof import('vant/es')['Field'] | 38 | VanField: typeof import('vant/es')['Field'] |
| 40 | VanForm: typeof import('vant/es')['Form'] | 39 | VanForm: typeof import('vant/es')['Form'] | ... | ... |
| ... | @@ -56,7 +56,7 @@ const initPdfViewer = () => { | ... | @@ -56,7 +56,7 @@ const initPdfViewer = () => { |
| 56 | pdfOption: { | 56 | pdfOption: { |
| 57 | search: false, | 57 | search: false, |
| 58 | scale: true, | 58 | scale: true, |
| 59 | - pdfImageView: false, | 59 | + pdfImageView: true, |
| 60 | page: true, | 60 | page: true, |
| 61 | navShow: true, | 61 | navShow: true, |
| 62 | navigationShow: false, | 62 | navigationShow: false, | ... | ... |
-
Please register or login to post a comment