We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc4b7bd commit 62c1b7fCopy full SHA for 62c1b7f
src/components/file.vue
@@ -193,7 +193,7 @@ export default {
193
processResponse(args[2])
194
return
195
}
196
- instance.ctx[`${event}`](args)
+ instance.ctx[`${event}`](...args)
197
198
199
const fileProgress = () => {
src/components/uploader.vue
@@ -102,10 +102,10 @@
102
if (handler === true) {
103
104
105
- instance.ctx[handler].apply(instance.ctx[handler], args.slice(1))
+ instance.ctx[handler](...args.slice(1))
106
107
args[0] = kebabCase(name)
108
- emit.apply(instance.ctx, args)
+ emit(...args)
109
110
111
props.options.initialPaused = !props.autoStart
0 commit comments