Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
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
qzhxx
national_museum_vod
Commits
1ae71851
Commit
1ae71851
authored
Apr 26, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
e8387852
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
uploadDatum.vue
src/page/content/components/uploadVue/uploadDatum.vue
+1
-1
uploadFile.vue
src/page/content/components/uploadVue/uploadFile.vue
+3
-3
No files found.
src/page/content/components/uploadVue/uploadDatum.vue
View file @
1ae71851
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<el-upload
<el-upload
ref=
"upload"
ref=
"upload"
accept=
".mp4,.flv,.mpeg,.mpg,.
word,.pdf,.ppt,.jpg,.jpeg,.png
.JPG,.JPEG,.PNG"
accept=
".mp4,.flv,.mpeg,.mpg,.
mov,.doc,.docx,.pdf,.ppt,.pptx,.jpg,.jpeg,.png,.bmp,
.JPG,.JPEG,.PNG"
:multiple=
"true"
:multiple=
"true"
:http-request=
"uploadFile"
:http-request=
"uploadFile"
:file-list=
"fileList"
:file-list=
"fileList"
...
...
src/page/content/components/uploadVue/uploadFile.vue
View file @
1ae71851
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-upload
<el-upload
ref=
"upload"
ref=
"upload"
accept=
".mp4,.flv,.mpeg,.mpg"
accept=
".mp4,.flv,.mpeg,.mpg
,.mov
"
:multiple=
"true"
:multiple=
"true"
:http-request=
"uploadFile"
:http-request=
"uploadFile"
:file-list=
"fileList"
:file-list=
"fileList"
...
@@ -45,7 +45,7 @@ export default {
...
@@ -45,7 +45,7 @@ export default {
spinner
:
'el-icon-loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
background
:
'rgba(0, 0, 0, 0.7)'
});
});
},
},
submitUpload
()
{
// 导入
submitUpload
()
{
// 导入
// this.openFullScreen2()
// this.openFullScreen2()
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
loading
.
close
();
loading
.
close
();
// this.loading = false
// this.loading = false
if
(
resData
.
resultCode
==
"200"
)
{
if
(
resData
.
resultCode
==
"200"
)
{
_this
.
$message
.
success
(
'上传成功!'
)
_this
.
$message
.
success
(
'上传成功!'
)
const
data
=
resData
.
data
.
fileList
;
const
data
=
resData
.
data
.
fileList
;
let
newArray
=
data
.
map
((
item
)
=>
item
.
id
);
let
newArray
=
data
.
map
((
item
)
=>
item
.
id
);
...
...
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