因为这个方法只被调用一次,所以它是异步加载数据的好地方。 在另一种情况下,模具也倾向于componentWillLoad而不是componentDidLoad。当使用componentDidLoad更新状态时, ...
確定! 回上一頁