bug
闫增涛
2024-09-07 c6c73b7d709322052b9cd6777b3d6657e0d43d30
pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -89,6 +89,12 @@
    this.setData({
      digitalTextId: options.id
    })
    const token = wx.getStorageSync(app.config.tokenKey)
    if (!token) {
      loginInfo(app, (data) => {
        if (data) {} else {}
      })
    }
    this.digitalTextbooksDetailsGet(this.data.digitalTextId)
    this.getType()
    this.getCertificateList()
@@ -238,7 +244,7 @@
          isBuy: false
        })
      }
      res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月DD日')
      res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月')
      if (res.datas.icon == '') {
        res.datas.icon = '/static/images/default-book-img.png'
      }