Skip to content

Commit

Permalink
fix: assign () => {} if event binding missing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Sep 21, 2022
1 parent 4ab231d commit 94d1546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-language-core/src/generators/template.ts
Expand Up @@ -1023,7 +1023,7 @@ export function generate(
);
}
else {
codeGen.addText(`undefined`);
codeGen.addText(`() => {}`);
}
}
}
Expand Down

0 comments on commit 94d1546

Please sign in to comment.