This commit is contained in:
Vanessa 2024-05-06 11:26:28 +08:00
parent d26e78f9d1
commit 2d93e384be

View file

@ -1252,6 +1252,10 @@ export const openMenuPanel = (options: {
event.stopPropagation();
break;
}
// 有错误日志,没找到重现步骤,需先判断一下
if (!target || !target.parentElement) {
break;
}
target = target.parentElement;
}
});