報錯誤了。求解
老師報這個錯誤是怎么回事:Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Player component.
老師報這個錯誤是怎么回事:Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Player component.
2018-03-23
舉報
2018-04-25
通常是因?yàn)榻M件并沒有裝載上便開始執(zhí)行setState({})建議按照這個處理:https://www.cnblogs.com/zyl-Tara/p/7998590.html