riku
2022-08-11 5656daeb79c6d4d3f9fc78f981c7faf96582d2f1
pages/promise/promise.js
@@ -29,13 +29,14 @@
   */
  onLoad: function (options) {
    this._initPlanYear()
    // this.getCommitment()
  },
  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    console.log("promise: onshow");
    this.getCommitment()
  },