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
在这里插入图片描述

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

猜你喜欢

转载自blog.csdn.net/qq_45234274/article/details/128224145