From 96b0b8bb1597d825004f5a8da0728c48b6ce7dba Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 27 三月 2025 15:22:22 +0800
Subject: [PATCH] 首页登录去除侧式

---
 pages/digitalCourses/digitalCoursesDetails/index.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/pages/digitalCourses/digitalCoursesDetails/index.js b/pages/digitalCourses/digitalCoursesDetails/index.js
index 096b1a5..942e574 100644
--- a/pages/digitalCourses/digitalCoursesDetails/index.js
+++ b/pages/digitalCourses/digitalCoursesDetails/index.js
@@ -196,7 +196,6 @@
    */
   onShow() {
     if (this.data.tabValue == 2 && this.data.selectActive == 'learn') {
-      console.log(12333)
       this.getPlayerList()
       this.getResource()
       this.getRelationBook()
@@ -312,7 +311,7 @@
           expire: res.false
         })
       }
-      res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY骞碝M鏈�')
+      res.datas.publicationDate = res.datas.publicationDate ? moment(res.datas.publicationDate).format('YYYY骞碝M鏈�') : ''
       res.datas.price = res.datas.price.toFixed(2)
       res.datas.oldPrice = res.datas.oldPrice.toFixed(2)
       wx.setNavigationBarTitle({

--
Gitblit v1.9.1