Merge branch 'develop' of ssh://gitlab.91isoft.com:10022/LAWS/laws-system-front-FOTON into develop

This commit is contained in:
zhangyichen
2022-04-01 09:51:34 +08:00
2 changed files with 12 additions and 0 deletions
@@ -1059,6 +1059,8 @@
<el-upload
multiple
drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList"
:action="fileUrl"
ref="importfile"
@@ -1921,6 +1923,10 @@ export default {
// },
},
methods: {
//限制上传文件个数
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// 标准来源改变事件
standInChange(val) {
this.verifySarStandard = false
@@ -1375,6 +1375,8 @@
<el-upload
multiple
drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList"
:action="fileUrl"
ref="importfile"
@@ -1837,6 +1839,10 @@ export default {
},
},
methods: {
//限制上传文件个数
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// 标准来源改变事件
standInChange(val) {
this.verifySarStandard = false