在加载http://localhost:4200时,我在Angular 8项目中遇到此错误
Uncaught TypeError: Cannot read property 'bind' of undefined
at new t (backend.js:31)
at Object.<anonymous> (backend.js:31)
at Object.<anonymous> (backend.js:31)
at r (backend.js:1)
at Object.<anonymous> (backend.js:31)
at r (backend.js:1)
at Object.<anonymous> (backend.js:31)
at r (backend.js:1)
at Object.<anonymous> (backend.js:31)
at r (backend.js:1)
this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()
答案 0 :(得分:1)
确保
在调用Shown
方法之前先定义FrmLogin
。
答案 1 :(得分:0)
您自己的代码或项目的依赖项之一必须使用clearImmediate
,这仅是MSIE。
https://developer.mozilla.org/en-US/docs/Web/API/Window/clearImmediate