riku
2022-08-11 5656daeb79c6d4d3f9fc78f981c7faf96582d2f1
pages/promiseresult/promiseresult.js
@@ -20,8 +20,8 @@
    var that = this
    this.getOpenerEventChannel().on('acceptDataFromOpenerPage', function (data) {
      console.log(data);
      data.promise.picPath = $f.basePicUrl + data.promise.picPath
      data.promise.pdfPath = $f.basePicUrl + data.promise.pdfPath
      // data.promise.picPath = $f.basePicUrl + data.promise.picPath
      // data.promise.pdfPath = $f.basePicUrl + data.promise.pdfPath
      that.setData({
        promise: data.promise
      })
@@ -53,7 +53,14 @@
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    var pages = getCurrentPages()
    var d = pages.length - 1
    wx.navigateBack({
      delta: d,
      success: (res) => {},
      fail: (res) => {},
      complete: (res) => {},
    })
  },
  /**