mirror of https://github.com/vuejs/core.git
wip: inheritAttrs
This commit is contained in:
parent
435ca32ff8
commit
1636dce788
|
@ -48,14 +48,16 @@ export function createComponentSimple(
|
||||||
) as Block
|
) as Block
|
||||||
|
|
||||||
// single root, inherit attrs
|
// single root, inherit attrs
|
||||||
// let i
|
if (
|
||||||
// if (component.inheritAttrs !== false && node instanceof Element) {
|
rawProps &&
|
||||||
// renderEffectSimple(() => {
|
component.inheritAttrs !== false &&
|
||||||
// // for (const key in instance.attrs) {
|
node instanceof Element &&
|
||||||
// // i = key
|
Object.keys(instance.attrs).length
|
||||||
// // }
|
) {
|
||||||
// })
|
renderEffectSimple(() => {
|
||||||
// }
|
// TODO
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
instance.scope.off()
|
instance.scope.off()
|
||||||
currentInstance = prevInstance
|
currentInstance = prevInstance
|
||||||
|
|
Loading…
Reference in New Issue