useEffect (() => { const subscription = props.source.subscribe(); return () => { // 清除订阅subscription.unsubscribe(); }; });. 为防止内存泄漏 ...
確定! 回上一頁