沙盘演示系统应用的微信小程序
pages/rechargeMoney/rechargMoney.js
@@ -105,7 +105,7 @@
    const data = {
      sessionId: getApp().globalData.sessionId,
      vcId: this.data.vcId, //虚拟卡ID
      rechargeAmount: this.data.moneyList[this.data.activeIndex]//(单位是分)
      rechargeAmount: this.data.moneyList[this.data.activeIndex].rechargeAmount//(单位是元)
    };
    console.log("postCloseValaue" + data);
    post({
@@ -200,9 +200,10 @@
      this.getRechargList();
    }
  },
  //处理充值记录的数据
  updateDisplayText() {
    const updatedList = this.data.allRechargeList.map(item => {
      let morny = item.rechargeAmount / 100 + "元"
      let morny = item.rechargeAmount  + "元"
      return {
        ...item,
        morny
@@ -220,9 +221,8 @@
    };
    get(params).then(data => {
      this.setData({
        moneyList:  data.content ,
        moneyList: data.content ,
      })
      this.updateDisplayText();
    }).catch(err => {
      // 错误回调
      wx.showToast({