From 90925f054c01ccccaa810a698792413e41db2252 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Tue, 25 Feb 2025 17:56:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E2=80=9C=E6=89=93=E5=8D=A1?= =?UTF-8?q?=E5=8C=BA=E9=97=B4=EF=BC=9A=E4=BB=8A=E6=97=A55:00=E8=87=B3?= =?UTF-8?q?=E6=98=8E=E6=97=A55:00=E4=B8=BA=E4=BB=8A=E6=97=A5=E8=80=83?= =?UTF-8?q?=E5=8B=A4=E2=80=9D=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/clock/index.vue | 47 ++++++++++++++++++++++++++++++++++----- src/pages/panel/index.vue | 19 +++++++++++----- 2 files changed, 54 insertions(+), 12 deletions(-) diff --git a/src/pages/clock/index.vue b/src/pages/clock/index.vue index 18d08c7..37b79ed 100644 --- a/src/pages/clock/index.vue +++ b/src/pages/clock/index.vue @@ -1,8 +1,15 @@ @@ -146,7 +153,7 @@ this.optionsData = res.obj.wechatClocklist if (this.optionsData.length > 0) { this.optionsData[0].attTypeTxt = '上班' - + if (this.optionsData.length >= 2) { this.optionsData[this.optionsData.length - 1].attTypeTxt = '下班' } @@ -320,4 +327,4 @@ margin-bottom: 16rpx; } } - \ No newline at end of file +