riku
2023-02-24 5d8e52e398bff7bc8f83e8f5b8a387175b958c98
pages/m_user/sceneauthentication/sceneauthentication.js
@@ -1,4 +1,6 @@
// pages/m_user/sceneauthentication/sceneauthentication.js
const app = getApp()
Page({
@@ -7,19 +9,25 @@
   * 页面的初始数据
   */
  data: {
  },
  /**
   * 生命周期函数--监听页面加载
   */
  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