答案可以参考
https://segmentfault.com/q/1010000016147496
有点绕,打算写篇文章好好讲这个