oboard

oboard

https://oboard.eu.org/
github
email
tg_channel
medium
twitter
bilibili
steam_profiles
follow

2023-01-18 [Vue warn]: Maximum recursive updates exceeded in component

Maximum recursive updates exceeded in component
组件中超过最大递归更新
image.png

[Vue warn]: Maximum recursive updates exceeded in component <AppNavigation>. 
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. 

后来发现是我在 props 里写了.reverse ()
="navigation.reverse()"

解决方案:
提前 reverse (),不要写在 props 中

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。