Commit 69375c28 by xinla

upload bug

1 parent ca069d70
...@@ -490,7 +490,7 @@ export default { ...@@ -490,7 +490,7 @@ export default {
// if (beforeUpload) { // if (beforeUpload) {
// return beforeUpload(file) // return beforeUpload(file)
// } // }
if (!this.multiple || this.limit == 1) { else if (!this.multiple || this.limit == 1) {
this.file = file this.file = file
} else { } else {
Array.isArray(this.file) || (this.file = []) // 多选 Array.isArray(this.file) || (this.file = []) // 多选
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!