From c99f9976a5ef9d8974105feb8fc0580a10adf98c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期一, 23 十二月 2024 14:58:49 +0800 Subject: [PATCH] 111 --- packageBookService/pages/bookServices/detail/components/learnTask/index.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/learnTask/index.js b/packageBookService/pages/bookServices/detail/components/learnTask/index.js index ba388c3..fc23647 100644 --- a/packageBookService/pages/bookServices/detail/components/learnTask/index.js +++ b/packageBookService/pages/bookServices/detail/components/learnTask/index.js @@ -99,7 +99,7 @@ app.MG.identity .getUserKey({ domain: 'cloudLearningTime', - keys: [this.data.bookId + ''] + keys: [this.data.bookId] }) .then((res) => { if (res.length > 0 && JSON.parse(res[0].value) && JSON.parse(res[0].value).length > 0) { @@ -176,7 +176,7 @@ menuList: dataList, loading: false, }); - }, 200) + }, 500) if (this.data.taskId) { setTimeout(() => { this.data.menuList.forEach((item) => { @@ -194,7 +194,7 @@ }) } }) - }, 200) + }, 500) } else { setTimeout(() => { if (this.data.menuList[0].children) { @@ -206,12 +206,12 @@ taskInfo: this.data.menuList[0], }); } - }, 200) + }, 500) } } setTimeout(() => { this.getTasksList() - }, 200) + }, 500) }) }, getTask(e) { @@ -265,10 +265,10 @@ this.setData({ isUpdate: true, tasksData: item1, - name: this.data.name || content.userName, - school: this.data.school || content.school, - class: this.data.class || content.class, - learnTime: content.learnTime, + name: content.userName, + school: content.school, + class: content.class, + learnTime: this.data.learnTime, }); if (this.data.name && this.data.school && this.data.class) { this.setData({ -- Gitblit v1.9.1