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-10-22 17:42:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
daa6c5cafa7a1067205dd94900ad6cab1d513285
daa6c5ca
1 parent
e810f95f
feat(components): 添加VanFloatingBubble组件声明
refactor(PdfViewer): 移除PDF初始化时的超时监控
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/components.d.ts
src/components/ui/PdfViewer.vue
src/components.d.ts
View file @
daa6c5c
...
...
@@ -52,6 +52,7 @@ declare module 'vue' {
VanDropdownMenu
:
typeof
import
(
'vant/es'
)[
'DropdownMenu'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanFloatingBubble
:
typeof
import
(
'vant/es'
)[
'FloatingBubble'
]
VanForm
:
typeof
import
(
'vant/es'
)[
'Form'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
...
...
src/components/ui/PdfViewer.vue
View file @
daa6c5c
<!--
* @Date: 2025-01-21
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-22 1
5:53:46
* @LastEditTime: 2025-10-22 1
7:40:14
* @FilePath: /mlaj/src/components/ui/PdfViewer.vue
* @Description: PDF预览组件 - 使用pdf-vue3库
-->
...
...
@@ -457,7 +457,7 @@ const handlePageChange = (page) => {
*/
const handlePdfInit = (pdf) => {
// 启动超时监控
startTimeoutMonitoring();
//
startTimeoutMonitoring();
// PDF初始化完成后的处理
loadingError.value = false;
...
...
Please
register
or
login
to post a comment