Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
”在小程序中,一个挂在到 Page 组件的组件并不会执行 componentWillUnmount() 方法,只有当他挂载的 Page 组件被销毁时,该组件才会执行 componentWillUnmount() 方法。“ 官网这么写,我也不太明白~