From abe52e53bee051e3f801d001c4de58d34a3fefd7 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 23 十月 2024 09:54:09 +0800 Subject: [PATCH] wj --- packageBookService/pages/bookServices/detail/components/learnTask/index.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/learnTask/index.js b/packageBookService/pages/bookServices/detail/components/learnTask/index.js index d9ba9ce..fc23647 100644 --- a/packageBookService/pages/bookServices/detail/components/learnTask/index.js +++ b/packageBookService/pages/bookServices/detail/components/learnTask/index.js @@ -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