Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI_BOOK_TOOL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
AI_BOOK_TOOL
Commits
aee7dcdd
Commit
aee7dcdd
authored
Jun 03, 2025
by
15011343103
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 暂停逻辑修改
parent
7f7c03c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
index.js
form/index.js
+8
-1
No files found.
form/index.js
View file @
aee7dcdd
...
@@ -1812,6 +1812,13 @@ new Vue({
...
@@ -1812,6 +1812,13 @@ new Vue({
if
(
event
.
code
===
'
Space
'
)
{
if
(
event
.
code
===
'
Space
'
)
{
event
.
preventDefault
();
// 阻止页面滚动
event
.
preventDefault
();
// 阻止页面滚动
if
(
this
.
isPlaying
)
{
this
.
wavesurfer
.
pause
();
this
.
isPlaying
=
false
;
clearTimeout
(
this
.
playTimer
);
return
;
}
// 如果页面已锁定,检查当前位置是否在锁定范围内
// 如果页面已锁定,检查当前位置是否在锁定范围内
if
(
this
.
isPageLocked
)
{
if
(
this
.
isPageLocked
)
{
const
currentTime
=
this
.
wavesurfer
.
getCurrentTime
();
const
currentTime
=
this
.
wavesurfer
.
getCurrentTime
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment