Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
向伟
educationStu
Commits
ae421f04
Commit
ae421f04
authored
Sep 08, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
587d9350
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ListenTopic.vue
src/components/subject/ListenTopic.vue
+1
-3
No files found.
src/components/subject/ListenTopic.vue
View file @
ae421f04
...
...
@@ -140,6 +140,7 @@ import {
onMounted
,
}
from
"vue"
;
import
{
changeNumToHan
}
from
"../../utils/index"
;
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
export
default
{
props
:
{
paperData
:
Object
,
...
...
@@ -184,9 +185,6 @@ export default {
uni
.
navigateBack
();
},
audioManage
(
url
)
{
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
// innerAudioContext.autoplay = true;
innerAudioContext
.
src
=
url
;
console
.
log
(
188
,
innerAudioContext
,
innerAudioContext
.
duration
);
innerAudioContext
.
onPlay
(()
=>
{
...
...
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