oboard

oboard

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

2023-01-18 [Vue 警告]: 組件中的最大遞歸更新次數超過

最大遞迴更新在組件中超過
组件中超过最大递归更新
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 中

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。