From 99dfeb5fc86bce593a5d3f43f45c26eedc00ab0a Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 10 九月 2024 16:28:54 +0800
Subject: [PATCH] bug

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

diff --git a/pages/digitalTextbooks/index.js b/pages/digitalTextbooks/index.js
index 1da0c34..7b348e6 100644
--- a/pages/digitalTextbooks/index.js
+++ b/pages/digitalTextbooks/index.js
@@ -231,6 +231,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