fix: use apply

This commit is contained in:
Guillaume Chau
2018-05-21 20:35:35 +02:00
parent 534beff50b
commit effec9303f
+1 -1
View File
@@ -143,7 +143,7 @@ export default class SmartApollo {
for (const handler of handlers) {
if (handler) {
catched = true
let result = handler.call(this.vm, ...args)
let result = handler.apply(this.vm, args)
if (typeof result !== 'undefined' && !result) {
break
}