Skip to content

Commit 1bc13f8

Browse files
committed
fix native events on components with inline-template (fix vuejs#3451)
1 parent f764db4 commit 1bc13f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/codegen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function genData (el: ASTElement): string | void {
152152
data += `${genHandlers(el.events)},`
153153
}
154154
if (el.nativeEvents) {
155-
data += `${genHandlers(el.nativeEvents, true)}`
155+
data += `${genHandlers(el.nativeEvents, true)},`
156156
}
157157
// inline-template
158158
if (el.inlineTemplate) {

0 commit comments

Comments
 (0)