[inula]<bugfix> 解决事件卸载失败问题

This commit is contained in:
13659257719 2023-10-12 16:16:58 +08:00
parent f43c6dd7c6
commit 3c776ec701
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ function findDOMNode(domOrEle?: Element): null | Element | Text {
// 情况根节点监听器
function removeRootEventLister(container: Container) {
const events = (container._treeRoot as any).$EV;
const events = (container as any).$EV;
if (events) {
Object.keys(events).forEach(event => {
const listener = events[event];