Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f326cbb9
authored
2020-12-09 16:30:31 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into master
2 parents
fc890241
2b007bcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/zd/fjcl/fjcl.vue
src/views/zd/fjcl/fjcl.vue
View file @
f326cbb
...
...
@@ -10,7 +10,6 @@
:on-error=
"uploadError"
:show-file-list=
"false"
multiple
:limit=
"3"
:on-exceed=
"handleExceed"
>
<el-button
size=
"small"
type=
"primary"
>
上传
</el-button>
...
...
@@ -157,7 +156,8 @@
},
handleExceed
(
files
,
fileList
)
{
console
.
log
(
fileList
)
this
.
$message
.
warning
(
`当前限制选择 3 个文件,本次选择了
${
files
.
length
}
个文件,共选择了
${
files
.
length
+
fileList
.
length
}
个文件`
);
// this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);
this
.
$message
.
warning
(
"上传失败"
)
},
beforeRemove
(
file
,
fileList
)
{
return
this
.
$confirm
(
`确定移除
${
file
.
name
}
?`
);
...
...
Please
register
or
sign in
to post a comment