Skip to content

Commit a8bedd2

Browse files
committed
fix setup state
1 parent 5552c48 commit a8bedd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/uploader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@
102102
if (handler === true) {
103103
return
104104
}
105-
instance.setupState[handler].apply(instance.setupState[handler], args.slice(1))
105+
instance[handler].apply(instance[handler], args.slice(1))
106106
}
107107
args[0] = kebabCase(name)
108-
emit.apply(instance.setupState, args)
108+
emit.apply(instance, args)
109109
}
110110
111111
props.options.initialPaused = !props.autoStart

0 commit comments

Comments
 (0)