vue3警告: Maximum recursive updates exceeded. This means you have a reactive effect that is mutating

问题:Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function
在这里插入图片描述

描述:爆警告 ,导致页面崩溃
警告翻译为:超过了最大递归更新数。这意味着你有一种反应性的效果,它会改变自己的依赖关系,从而递归地触发自己。可能的源包括组件模板、呈现函数、更新的钩子或观察者源函数。
原因:排查页面上的递归函数,死循环,导致页面崩了

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
THE END
分享
二维码
< <上一篇
下一篇>>