Commit 62f313f5 authored by zhanglu's avatar zhanglu

Merge branch 'fix/watch_video_time' into 'master'

Fix/watch video time

See merge request alpha/sun!31
parents cdbce727 38d9e669
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -657,9 +657,9 @@
let data = res.data
this.uploading = false
let duration = data.format.duration
if (Math.round(duration) > 60) {
if (Math.round(duration) > 1200) {
this.$message({
message: '视频时长不能大于1分钟',
message: '视频时长不能大于20分钟',
type: 'warning'
})
this.edit.video_url = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment