From 8ff9b0d45ac250607afa258cf095c9ac7624f96b Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 09 九月 2024 20:14:59 +0800 Subject: [PATCH] bg --- pages/digitalTextbooks/digitalTextbooksDetails/index.js | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/digitalTextbooks/digitalTextbooksDetails/index.js b/pages/digitalTextbooks/digitalTextbooksDetails/index.js index dee28fb..acd91b7 100644 --- a/pages/digitalTextbooks/digitalTextbooksDetails/index.js +++ b/pages/digitalTextbooks/digitalTextbooksDetails/index.js @@ -92,7 +92,13 @@ const token = wx.getStorageSync(app.config.tokenKey) if (!token) { loginInfo(app, (data) => { - if (data) {} else {} + if (data) { + this.digitalTextbooksDetailsGet(this.data.digitalTextId) + this.getType() + this.getCertificateList() + } else { + + } }) } this.digitalTextbooksDetailsGet(this.data.digitalTextId) @@ -244,7 +250,7 @@ isBuy: false }) } - res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY骞碝M鏈圖D鏃�') + res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY骞碝M鏈�') if (res.datas.icon == '') { res.datas.icon = '/static/images/default-book-img.png' } -- Gitblit v1.9.1