更新时间:2021-07-06 23:18:51
对于仍然遇到此问题的任何人,请尝试以下操作:
For anyone still running into this issue, try this:
Angular2+:IE 11 无法获取未定义或空引用的属性调用"
如果您遇到的错误发生在如下所示的一大段代码上:
If the error you're getting occurs on a hunk of code that looks like this:
window.setTimeout(() => {
window.removeEventListener('click', suppressClick, true);
}, 0);
...然后请告诉我该解决方案是否有效.我会更新这个答案,并可能将此问题标记为重复.
...then please let me know if the solution worked or not. I will update this answer, and possibly mark this question as duplicate.
我不认为这些是同一个问题,因为错误发生在 bundle.js
中的不同代码上.有人对这个答案投了反对票,但没有给出任何关于这些问题是否有相同解决方案的反馈.
I DO NOT BELIEVE THESE TO BE THE SAME ISSUE AT THIS TIME, AS THE ERRORS OCCURRED ON DIFFERENT CODE IN bundle.js
. Someone voted this answer down, without giving any feedback on whether or not these questions have the same solution.
我目前没有办法对此进行测试,但想将人们引向可能的解决方案.
I do not have a way to test this currently, but wanted to direct folks to a possible solution.