第一个页面: go_pick_time:function(e){ var that = this; var type = e.currentTarget.dataset.type; wx.navigateTo({ url : '/pages/record/picktime?type=' + type }); }, onShow: function () { var that = this; console.log(that.data); // 这里就可以抓取到设置的值 let { on_type…
是小程序实例化后 读入内存 还是每次调用从文件系统读取 https://github.com/Tencent/wepy/blob/bd0003dca2bfb9581134e1b05d4aa1d80fc53858/packages/wepy-web/src/wx.js /** * Tencent is pleased to support the open source community by making WePY available. * Copyright (C) 2017 THL A29…