📜  错误:[$rootScope:inprog] $apply 已经在进行中 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:47.232000             🧑  作者: Mango

代码示例1
theory,
https://medium.com/@TuiZ/digest-already-in-progress-c0f97a6becfc

solution,
https://code.angularjs.org/1.2.16/docs/error/$rootScope/inprog?p0=$apply
or
https://stackoverflow.com/questions/15112584/how-do-i-use-scope-watch-and-scope-apply-in-angularjs