riku
2026-01-19 068be2757aa2d51e3f6604dae54287683160ad0e
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/mUser/pQrcode/pQrcode.js
import $f from "../../../service/baserequest"
 
const app = getApp()
 
Page({
 
  /**
   * 页面的初始数据
   */
  data: {
    url:$f.baseFileUrl + `ledger/page/qrcode.html`
  },
 
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    // this.getOpenerEventChannel().on('acceptDataFromOpenerPage', (data) => {
    //   this.setData({
    //   })
    // })
    this.setData({
      url: $f.baseFileUrl + `ledger/page/qrcode.html?id=${app.globalData.accessToken.userId}`
    })
    console.log(this.data.url);
  },
})