Skip to content

在setup中如何获取到当前渲染的根对象 #71

@qidizi

Description

@qidizi

如果setup中没有进行this.render,在setup中好像是没有根element的,这个时候应该是没入插入容器吧?

然后我把this.render()写上了,却发现setup只会触发一次?

但是我的parentNode写法却是"#a,#b,#c.....",而这个时候我希望能拿到当前的根对象#a或是#b,应该怎么做?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions