How to realize page jump and transfer value in WeChat Mini Programs's development
In this article, the editor introduces in detail "how to achieve page jump transfer value in the development of WeChat Mini Programs", the content is detailed, the steps are clear, and the details are handled properly. I hope that this "how to achieve page jump transfer value in the development of WeChat Mini Programs" article can help you solve your doubts, following the editor's ideas slowly in depth, together to learn new knowledge.
The method of WeChat Mini Programs realizing page jump to transfer value
For example, from index. Wxml jumps to aaa.wxml
Index.wml
Send it to aaa. If the value passed in wxml is id=1, you need to get the id=1 from the js of aaa.wxml.
Aaa.js
Page ({data: {id:''}, onLoad: function (options) {var that = this) That.setData ({id: options.id}) console.log (that.data.id)}) read here, this article "how to achieve page jump transfer value in the development of WeChat Mini Programs" article has been introduced, want to master the knowledge of this article also need everyone to practice and use in order to understand, if you want to know more related articles, welcome to follow the industry information channel.