From 22e000d8ce69d622e10edc22441bb6ba8ee8bbf3 Mon Sep 17 00:00:00 2001 From: yxq Date: Thu, 22 Aug 2024 15:51:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=20=E8=AF=BE?= =?UTF-8?q?=E5=A0=82=E8=80=83=E5=8B=A4=E6=97=B6=E9=97=B4=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/studentAttendance/single.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue index a0a2db9b2..47d7d5e8a 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/studentAttendance/single.vue @@ -2,7 +2,7 @@ - {{ pageInfo.LessonDate }} 第{{ pageInfo.LessonTime.substring(1) }}节 + {{ pageInfo.$LessonDate }} 第{{ pageInfo.LessonTime.substring(1) }}节 @@ -183,7 +183,12 @@ export default{ } }, created() { - this.pageInfo = this.GET_PARAM(); //获取页面传递参数 + let pageInfo = this.GET_PARAM(); //获取页面传递参数 + pageInfo.$LessonDate = pageInfo.LessonDate + if(pageInfo.$LessonDate){ + pageInfo.$LessonDate = pageInfo.$LessonDate.split(' 00:00:00')[0] + } + this.pageInfo = pageInfo this.init(); } }