Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
b4cf00fa
Commit
b4cf00fa
authored
Oct 16, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
峰会回顾压缩包修复
parent
e5d2bc4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
reviewPopup.vue
src/views/summit/model/reviewPopup.vue
+3
-2
No files found.
src/views/summit/model/reviewPopup.vue
View file @
b4cf00fa
...
@@ -170,7 +170,6 @@ export default {
...
@@ -170,7 +170,6 @@ export default {
beforeAvatarUpload
(
file
)
{
beforeAvatarUpload
(
file
)
{
var
index
=
file
.
name
.
lastIndexOf
(
'.'
)
var
index
=
file
.
name
.
lastIndexOf
(
'.'
)
var
ext
=
file
.
name
.
substr
(
index
+
1
)
var
ext
=
file
.
name
.
substr
(
index
+
1
)
console
.
log
(
ext
)
if
(
ext
!=
'zip'
)
{
if
(
ext
!=
'zip'
)
{
this
.
$message
.
error
(
'上传压缩包只能是 zip 格式!'
)
this
.
$message
.
error
(
'上传压缩包只能是 zip 格式!'
)
return
false
return
false
...
@@ -197,7 +196,7 @@ export default {
...
@@ -197,7 +196,7 @@ export default {
cre
()
{
cre
()
{
let
zipPic
=
[]
let
zipPic
=
[]
this
.
list
.
forEach
(
element
=>
{
this
.
list
.
forEach
(
element
=>
{
zipPic
.
push
(
element
.
url
)
zipPic
.
push
(
element
.
response
.
data
)
})
})
let
mp4Vadio
=
[]
let
mp4Vadio
=
[]
this
.
vadio
.
forEach
(
element
=>
{
this
.
vadio
.
forEach
(
element
=>
{
...
@@ -219,6 +218,8 @@ export default {
...
@@ -219,6 +218,8 @@ export default {
:
zipPic
.
join
(
','
)
+
','
+
this
.
oldList
:
zipPic
.
join
(
','
)
+
','
+
this
.
oldList
:
zipPic
.
join
(
','
)
:
zipPic
.
join
(
','
)
}
}
// console.log(params);
save
(
params
).
then
(
res
=>
{
save
(
params
).
then
(
res
=>
{
this
.
responseResult
(
res
)
this
.
responseResult
(
res
)
})
})
...
...
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