Skip to content

Commit fe3440b

Browse files
author
Walker Leite
committed
fix(component): using prop instead of static value
1 parent 2447dbc commit fe3440b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ic-firebase-uploader/ic-firebase-uploader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default {
9494
this.$emit('error', new Error('maximum files reached'))
9595
}
9696
const cFiles = Array.prototype.slice.call(
97-
files, 0, 3 - curFilesLength
97+
files, 0, this.maxFiles - curFilesLength
9898
)
9999
cFiles.forEach(this.uploadFile)
100100
},

0 commit comments

Comments
 (0)