// pages/mUser/sceneauthentication/sceneauthentication.js const app = getApp() Page({ /** * 页面的初始数据 */ data: { }, /** * 生命周期函数--监听页面加载 */ onLoad(options) { this.setData({ sceneType: app.globalData.userInfo.extension2 }) this.getOpenerEventChannel().on('acceptDataFromOpenerPage', (data) => { this.setData({ authStatus: data.authStatus }) }) }, onSubmit(e) { console.log(e); const info = e.detail } })