Closed jingxin2015 closed 5 months ago
在写一个 layer 的组件的时候,发现 this.el 是一个注释节点,导致给 layer 的根节点绑定事件的时候没有生效,请问是什么原因呢?
咋写的
root 是 fragment 或者 if,会这样。
在写一个 layer 的组件的时候,发现 this.el 是一个注释节点,导致给 layer 的根节点绑定事件的时候没有生效,请问是什么原因呢?