Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
national_museum_vod-H5
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
fubaole
national_museum_vod-H5
Commits
56795da7
Commit
56795da7
authored
Apr 14, 2021
by
乐宝呗666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改视频格式的限制
parent
f857ef34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
commitTab.vue
src/views/user/components/commitTab.vue
+0
-2
historyTab.vue
src/views/user/components/historyTab.vue
+1
-1
No files found.
src/views/user/components/commitTab.vue
View file @
56795da7
...
...
@@ -372,11 +372,9 @@ export default {
this
.
form
.
videos
.
push
(
item
.
fileUrl
);
this
.
videoIds
.
push
(
item
.
id
);
})
}
else
{
this
.
$toast
(
res
.
data
.
message
)
}
})
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
...
...
src/views/user/components/historyTab.vue
View file @
56795da7
...
...
@@ -132,7 +132,7 @@ export default {
item
.
images
=
[];
item
.
audio
=
[];
arr
.
forEach
((
result
)
=>
{
if
(
/
\.(
MP4|MPEG|Ogg|WebM
)
/i
.
test
(
result
))
{
if
(
/
\.(
MP4|MPEG|Ogg|WebM
|MOV
)
/i
.
test
(
result
))
{
item
.
videos
.
push
(
result
);
}
else
if
(
/
\.(
MP3|Wav|Ogg
)
/i
.
test
(
result
))
{
item
.
audio
.
push
(
result
);
...
...
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