Wechat applet just got in touch, points to pay attention to

1. The data update must be changed in the form of setData({}), otherwise the view and logical data cannot be consistent.
2. It should be noted about the page stack that all page stacks will be cleared and new pages will be pushed into the stack by changing the tabBar. [Reload] The same is true, clean up all page stacks, and push the loaded pages into the stack
3. Regarding the url parameter in wx.navigateto, you cannot jump to the page in the tabBar!
4. The current route can be obtained by using the route of the page object, so getCurrentPages() can be obtained without this. In addition, getCurrentPage() has been abandoned, and the latest getCurrentPages() is used.
5. In the configuration file of app.json, the pages property The page in must exist

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324490242&siteId=291194637