onLoad: function (options) { let that = this; let id = options.id; console.log(id); getData.getData("getLevelOne", { method: 'POST' }, function (data) { that.setData({ level_one_data: data.data }); });}
当从别的页面跳入的时候携带的参数,可以通过上面的方法来获取。