From 09e445694a7360893a17152252f2dc5c1b77b2cf Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 12 十二月 2024 17:01:39 +0800 Subject: [PATCH] 量表提交保存 --- packageBookService/pages/bookServices/detail/index.js | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/index.js b/packageBookService/pages/bookServices/detail/index.js index 0319a5f..123be36 100644 --- a/packageBookService/pages/bookServices/detail/index.js +++ b/packageBookService/pages/bookServices/detail/index.js @@ -1188,18 +1188,19 @@ loading: false, openTeachids: result, }); - const bookId = that.data.bookId - if (bookId == 6619) { - const jsonData = {} - jsonData.name = "蹇冪悊娴嬭瘎" - jsonData.children = [...pastData.postData.list] - var test = that.data.test; - test.push(jsonData); - that.setData({ - test: test, - }); - console.log(that.data.test, "鏁欏浜掑姩"); - } + //Json璧嬪�� + // const bookId = that.data.bookId + // if (bookId == 6619) { + // const jsonData = {} + // jsonData.name = "蹇冪悊娴嬭瘎" + // jsonData.children = [...pastData.postData.list] + // var test = that.data.test; + // test.push(jsonData); + // that.setData({ + // test: test, + // }); + // console.log(that.data.test, "鏁欏浜掑姩"); + // } } else { that.setData({ -- Gitblit v1.9.1