fix attr codegen

This commit is contained in:
Evan You 2016-04-16 18:30:16 -04:00
parent 583a7bb0d1
commit ca81482c62

View File

@ -92,7 +92,7 @@ function genData (el) {
}
// attributes
if (el.attrs) {
data += `attrs:{${genProps(el.attrs)}}`
data += `attrs:{${genProps(el.attrs)}},`
}
// hooks
if (el.hooks) {