Commit 69375c28 by xinla

upload bug

1 parent ca069d70
......@@ -490,7 +490,7 @@ export default {
// if (beforeUpload) {
// return beforeUpload(file)
// }
if (!this.multiple || this.limit == 1) {
else if (!this.multiple || this.limit == 1) {
this.file = file
} else {
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!