Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_mb_08
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
dfzx_mb_08
Commits
a8010120
Commit
a8010120
authored
Oct 27, 2020
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 音频不播放的问题
parent
8ebccd0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
play.component.ts
src/app/play/play.component.ts
+5
-2
No files found.
src/app/play/play.component.ts
View file @
a8010120
...
@@ -804,8 +804,11 @@ export class PlayComponent implements OnInit, OnDestroy {
...
@@ -804,8 +804,11 @@ export class PlayComponent implements OnInit, OnDestroy {
bottomRectClick
(
rect
)
{
bottomRectClick
(
rect
)
{
if
(
rect
.
item
.
id
==
this
.
curShape
.
item
.
id
)
{
if
(
rect
.
item
.
id
==
this
.
curShape
.
item
.
id
)
{
if
(
rect
.
audio
)
{
rect
.
audio
.
play
();
rect
.
audio
.
pause
();
rect
.
audio
.
currentTime
=
0
;
}
if
(
!
rect
.
end
)
{
if
(
!
rect
.
end
)
{
...
...
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