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).
我分别在两个不同的A,B页面中引用了同一个组件,编译到微信小程序之后。
直接打开A页面的话,生命周期顺序是 componentDidMount pageDidMount
如果是从A页面点击跳转到B页面的时候,B页面的生命周期反而是 pageDidMount componentDidMount
为什么会这样?