Sfoglia il codice sorgente

bug修复

guessPrice
suizhijia 5 anni fa
parent
commit
5b05b0568c
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. +2
    -4
      496_dongfengqichen/pages/myCenter/myCenter.js

+ 2
- 4
496_dongfengqichen/pages/myCenter/myCenter.js Vedi File

getBuyStates: function () { getBuyStates: function () {
this.setData({ this.setData({
buyState: app.globalData.getBuyState.success, buyState: app.globalData.getBuyState.success,
buyStateTime: app.globalData.getBuyState.cdate,
buyStateCouponCode: app.globalData.getBuyState.coupon_code
buyStateTime: app.globalData.getBuyState.cdate
}) })
}, },
/** /**
if (app.globalData.getBuyState.success != this.data.buyState) { if (app.globalData.getBuyState.success != this.data.buyState) {
this.setData({ this.setData({
buyState: app.globalData.getBuyState.success, buyState: app.globalData.getBuyState.success,
buyStateTime: app.globalData.getBuyState.cdate,
buyStateCouponCode: app.globalData.getBuyState.coupon_code
buyStateTime: app.globalData.getBuyState.cdate
}) })
} }
this.setData({ this.setData({

Loading…
Annulla
Salva