Browse Source

fix directive merging

dev
Evan You 9 years ago
parent
commit
c13bbcb327
  1. 2
      src/runtime/instance/render.js

2
src/runtime/instance/render.js

@ -251,7 +251,7 @@ function mergeParentData (vm, data, parentData) {
}
}
if (parentData.directives) {
data.directives = parentData.directives.conact(data.directives || [])
data.directives = parentData.directives.concat(data.directives || [])
}
}

Loading…
Cancel
Save