Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
42d67fb1
Commit
42d67fb1
authored
Jun 01, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 音乐播放完成后关闭
parent
689dfdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
base-config.vue
src/views/game/cmh/base-config.vue
+7
-0
No files found.
src/views/game/cmh/base-config.vue
View file @
42d67fb1
...
...
@@ -113,6 +113,7 @@ import Linktools from '@/components/linktools-fulls/index.vue';
import
audioUpload
from
'../common/audio-upload.vue'
;
const
maxTimeRange
=
180
*
24
*
60
*
60
*
1000
;
// 6个月
const
music
=
new
Audio
();
export
default
{
data
()
{
const
adsImageUrlVal
=
(
rule
,
value
,
callback
)
=>
{
...
...
@@ -184,6 +185,12 @@ export default {
default
:
()
=>
{}
}
},
mounted
()
{
music
.
addEventListener
(
'ended'
,
()
=>
{
music
.
currentTime
=
0
;
this
.
isPlay
=
false
;
});
},
components
:
{
dmUploadAvatar
,
dmUploadImg
,
...
...
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