提交 5c224f41 编写于 作者: D DCloud_LXH

fix(renderjs): UniComponent __id

上级 7bc5a416
......@@ -53,6 +53,7 @@ export class UniComponent extends UniNode {
this.$app = createApp(createWrapper(component, this.$props))
this.$app.mount(container)
this.$ = container.firstElementChild! as UniCustomElement
this.$.__id = id
if (selector) {
this.$holder = this.$.querySelector(selector)!
if (__DEV__) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册