📌  相关文章
📜  TypeError: Cannot read properties of undefined (reading 'overlayAnimation') - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:15.443000             🧑  作者: Mango

代码示例1
I found the reason for the solution.

It turned out that the error is not random. An error occurs when adding a drop-down list to a static dialog box, after opening the dialog box, then clicking on the drop-down list and not clicking on the drop-down list item to close the dialog box, then upon reopening there will be an error when trying to open the drop-down list by clicking on it.

To solve the problem when calling the event of hiding the dialog box, call the hiding of the drop-down list element.



hide (el) {
el.hide ()
}