Skip to content

Commit 6e1d2ef

Browse files
authored
Merge pull request vue-generators#438 from ik9999/master
Fix vue-generators#422 "fieldUpload event throws ReferenceError in Firefox"
2 parents 6b479fb + e2820f3 commit 6e1d2ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fields/core/fieldUpload.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ import { isFunction } from "lodash";
2020
export default {
2121
mixins: [abstractField],
2222
methods: {
23-
onChange(){
23+
onChange($event){
2424
if(isFunction(this.schema.onChanged)){
2525
// Schema has defined onChange method.
26-
this.schema.onChanged.call(this, this.model, this.schema, event, this);
26+
this.schema.onChanged.call(this, this.model, this.schema, $event, this);
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)