Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-05-08 13:52:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f146119c7797f922e6c8e669a810b0a550a1d7f5
f146119c
1 parent
26c753e9
fix(PdfPreview): 禁用PDF打印功能并注释搜索回调
禁用PDF打印功能以防止用户误操作,并注释掉搜索回调以避免不必要的调用
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/ui/PdfPreview.vue
src/components/ui/PdfPreview.vue
View file @
f146119
...
...
@@ -46,7 +46,7 @@ const initPdfViewer = () => {
pdfPath: pdfPath,
loading: (load, fileInfo) => {
if (!load) {
configPdfApiOptions.onSearch("", false);
//
configPdfApiOptions.onSearch("", false);
}
},
pdfOption: {
...
...
@@ -62,7 +62,7 @@ const initPdfViewer = () => {
clearScale: 1.5,
fileName: "preview.pdf",
lang: "en",
print:
tru
e,
print:
fals
e,
watermarkOptions: undefined
}
});
...
...
Please
register
or
login
to post a comment