Commit 30eb3d0d authored by 陈明豪's avatar 陈明豪

Merge remote-tracking branch 'origin/master'

parents 64d99d30 9eb7000a
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
// 大小限制(MB) // 大小限制(MB)
fileSize: { fileSize: {
type: Number, type: Number,
default: 3 default: 4
}, },
// 文件类型, 例如['png', 'jpg', 'jpeg'] // 文件类型, 例如['png', 'jpg', 'jpeg']
fileType: { fileType: {
...@@ -329,6 +329,10 @@ export default { ...@@ -329,6 +329,10 @@ export default {
// 上传失败 // 上传失败
handleUploadError() { handleUploadError() {
this.$modal.msgError('上传图片失败,请重试') this.$modal.msgError('上传图片失败,请重试')
this.cropperVisible = false
this.fileList = []
this.uploadList = []
this.number = 0
// this.$modal.closeLoading() // this.$modal.closeLoading()
}, },
// 上传结束处理 // 上传结束处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment