fix: use apply
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user