Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
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
lhfe
mould-vuecli3
Commits
494c1ed0
Commit
494c1ed0
authored
Aug 27, 2020
by
yimj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
957acf44
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
videoPlayer.vue
src/components/videoCutter/videoPlayer.vue
+1
-4
registerServiceWorker.js
src/registerServiceWorker.js
+1
-4
videoConverter.vue
src/views/videoConverter.vue
+2
-2
No files found.
src/components/videoCutter/videoPlayer.vue
View file @
494c1ed0
<
template
>
<div
class=
"video-player"
>
<video
ref=
"videoDom"
src=
"https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"
></video>
<video
ref=
"videoDom"
src=
"https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"
></video>
</div>
</
template
>
<
script
>
...
...
src/registerServiceWorker.js
View file @
494c1ed0
...
...
@@ -5,10 +5,7 @@ import { register } from 'register-service-worker'
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
register
(
`
${
process
.
env
.
BASE_URL
}
service-worker.js`
,
{
ready
()
{
console
.
log
(
'App is being served from cache by a service worker.
\
n'
+
'For more details, visit https://goo.gl/AFskqB'
)
console
.
log
(
'App is being served from cache by a service worker.
\
n'
+
'For more details, visit https://goo.gl/AFskqB'
)
},
registered
()
{
console
.
log
(
'Service worker has been registered.'
)
...
...
src/views/videoConverter.vue
View file @
494c1ed0
...
...
@@ -13,7 +13,7 @@
<div
class=
"wait"
v-show=
"item.state == 0"
>
<div>
输出格式
</div>
<div
class=
"selectionFormat"
>
mp4
</div>
<div
class=
"delete"
@
click=
"clear
AllTasks
(item)"
>
删除
</div>
<div
class=
"delete"
@
click=
"clear
Task
(item)"
>
删除
</div>
</div>
<div
class=
"active"
v-show=
"item.state == 1"
>
<div
class=
"progress"
>
...
...
@@ -66,7 +66,7 @@ export default {
item
.
state
=
0
},
clearTask
(
item
)
{
let
index
=
this
.
taskList
(
item
)
let
index
=
this
.
taskList
.
indexOf
(
item
)
if
(
index
>
-
1
)
{
this
.
taskList
.
splice
(
index
,
1
)
}
...
...
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