From 8aeddcf766df9f7e3061d4d098b57afdf53db896 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 19 十二月 2024 15:28:07 +0800 Subject: [PATCH] 骨架屏及选择选中后自动跳转 --- packageBookService/pages/bookServices/examination/questionSchedule/index.js | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/questionSchedule/index.js b/packageBookService/pages/bookServices/examination/questionSchedule/index.js index 903a716..49b5931 100644 --- a/packageBookService/pages/bookServices/examination/questionSchedule/index.js +++ b/packageBookService/pages/bookServices/examination/questionSchedule/index.js @@ -1,4 +1,3 @@ - // pages/bookServices/examination/questionSchedule/questionSchedule.js Component({ /** @@ -41,10 +40,8 @@ }, created( - ) { - }, - detached() { - }, + ) {}, + detached() {}, /** * 缁勪欢鐨勫垵濮嬫暟鎹� @@ -80,9 +77,6 @@ percentage: (this.data.ready / this.data.questionList.length) * 100 }) }, - 'isNight': function (newValue) { - console.log('is', newValue); - } }, /** * 缁勪欢鐨勬柟娉曞垪琛� @@ -109,6 +103,8 @@ } else { return false } + } else if (typeof data == 'number') { + return true } else { return false } @@ -182,4 +178,4 @@ // } } -}) +}) \ No newline at end of file -- Gitblit v1.9.1