pages/m_user/sceneauthentication/sceneauthentication.js
@@ -1,4 +1,6 @@ // pages/m_user/sceneauthentication/sceneauthentication.js const app = getApp() Page({ @@ -14,12 +16,18 @@ * 生命周期函数--监听页面加载 */ onLoad(options) { console.log(app.globalData.userInfo.extension2); 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