From 3cf881c4d97f704af2b5bb6ae1f1b1740d108521 Mon Sep 17 00:00:00 2001 From: Dai Date: Wed, 17 Jul 2024 11:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=AF=BE=E9=A1=B5=E9=9D=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/admin/app/view/teacher-schedule-time/update.html | 1 + plugin/admin/app/view/teacher/teacher_schedule_time.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/admin/app/view/teacher-schedule-time/update.html b/plugin/admin/app/view/teacher-schedule-time/update.html index 855b6a9..c41c603 100644 --- a/plugin/admin/app/view/teacher-schedule-time/update.html +++ b/plugin/admin/app/view/teacher-schedule-time/update.html @@ -178,6 +178,7 @@ day: '日', list: '列表' }, + allDayText : '全天', // initialDate: '2024-07-14', eventLimit: 4, // 显示更多 navLinks: true, // can click day/week names to navigate views diff --git a/plugin/admin/app/view/teacher/teacher_schedule_time.html b/plugin/admin/app/view/teacher/teacher_schedule_time.html index 8a8352d..c5c103e 100644 --- a/plugin/admin/app/view/teacher/teacher_schedule_time.html +++ b/plugin/admin/app/view/teacher/teacher_schedule_time.html @@ -145,7 +145,8 @@ // plugins: [ 'interaction', 'dayGrid', 'timeGrid' ], locale: 'zh-cn', // 设置中文 headerToolbar: { - left: 'prev,next today', + // left: 'prev,next today', + left: 'today', center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay' }, @@ -194,6 +195,7 @@ // } }, editable: true, + allDayText : '全天', dayMaxEvents: true, // allow "more" link when too many events events: function (info, successCallback, failureCallback) { console.log('12312313', info)