Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize page jump and transfer value in WeChat Mini Programs's development

Shulou Source: shulou.com Published: 2022-05-31 21:18:04 10月22日 Update

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.

Tags: Pages programs development articles content appropriateness ideas new knowledge methods time more steps knowledge knowledge points procedures articles details industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information macOS Shulou Technology Apple vpn