From 12e72812d28c95394a17ec495985d44aff1c77f7 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 06 十一月 2024 15:13:22 +0800 Subject: [PATCH] 文档资源查看优化 --- 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