Page({ data: { certInfo: {} }, onLoad(option) { const certInfo = JSON.parse(option.query); this.setData({ certInfo }); } });