From b5bf6a8ff37d5c363a68697ac8cab88ff21b1614 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 16 七月 2025 23:29:10 +0800
Subject: [PATCH] 增加量表价格为0的判断

---
 pages/digitalTextbooks/index.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pages/digitalTextbooks/index.js b/pages/digitalTextbooks/index.js
index 1da0c34..d5bb7c2 100644
--- a/pages/digitalTextbooks/index.js
+++ b/pages/digitalTextbooks/index.js
@@ -116,6 +116,7 @@
   onShareAppMessage() {
 
   },
+  onShareTimeline() {},
   //鏂板姞鐨勫嚱鏁�
 
   getCourseTypeListList() {
@@ -231,6 +232,7 @@
           ...searchObj
         }
       }).then((res) => {
+        res.datas.forEach(item => item.price = item.price.toFixed(2))
         this.setData({
           digitalTextbooksData: res.datas,
           loading: false

--
Gitblit v1.9.1