mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 12:07:39 +08:00
fix attr codegen
This commit is contained in:
parent
583a7bb0d1
commit
ca81482c62
@ -92,7 +92,7 @@ function genData (el) {
|
|||||||
}
|
}
|
||||||
// attributes
|
// attributes
|
||||||
if (el.attrs) {
|
if (el.attrs) {
|
||||||
data += `attrs:{${genProps(el.attrs)}}`
|
data += `attrs:{${genProps(el.attrs)}},`
|
||||||
}
|
}
|
||||||
// hooks
|
// hooks
|
||||||
if (el.hooks) {
|
if (el.hooks) {
|
||||||
|
Loading…
Reference in New Issue
Block a user