From dc19fdf86993b2ddeb6b92e2561cb01176ded889 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 16 七月 2025 23:12:58 +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