审核裁决书意见必传校验

This commit is contained in:
Your Name
2023-09-25 21:20:03 +08:00
parent 8996ca0087
commit 10a01a017f
3 changed files with 20 additions and 10 deletions
@@ -789,8 +789,9 @@ export default {
},
},
methods: {
handleRemove(file, fileList) {},
handlePreview(file) {},
handleRemove(file, fileList) {console.log('文件列表移除文件时的钩子');},
handlePreview(file) {console.log('点击文件列表中已上传的文件时的钩子');},
// 文件超出个数限制时的钩子
handleExceed(files, fileList) {
this.$message.warning(
`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
@@ -798,6 +799,7 @@ export default {
} 个文件`
);
},
// 删除文件之前的钩子,参数为上传的文件和文件列表,若返回 false 或者返回 Promise 且被 reject,则停止删除。
beforeRemove(file, fileList) {
return this.$confirm(`确定移除 ${file.name}?`);
},