riku
2022-10-10 437144f41c74505d362a5214a18cec3d01b3ce4b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// pages/m_user/sceneauthentication/sceneauthentication.js
const app = getApp()
 
Page({
 
  /**
   * 页面的初始数据
   */
  data: {
    
  },
 
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    console.log(app.globalData.userInfo.extension2);
    this.setData({
      sceneType: app.globalData.userInfo.extension2
    })
  },
 
  onSubmit(e) {
    console.log(e);
    const info = e.detail
 
  }
})