From 4fb971a9353dff7ba49c2bc9ad988ee402cf4f5b Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 8 Mar 2022 18:42:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=E5=BC=80=E5=A7=8B=E6=97=B6=E9=97=B4=E5=92=8C=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E6=97=B6=E9=97=B4=E4=B8=BA=E5=90=8C=E4=B8=80=E5=A4=A9?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E5=8F=91=E7=94=9F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/pages/manage/components/TaskAdd.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/pages/manage/components/TaskAdd.vue b/resources/assets/js/pages/manage/components/TaskAdd.vue index 4e13769e4..70f0b008d 100644 --- a/resources/assets/js/pages/manage/components/TaskAdd.vue +++ b/resources/assets/js/pages/manage/components/TaskAdd.vue @@ -353,7 +353,10 @@ export default { let tempc = $A.date2string(times, "Y-m-d H:i"); if (tempc[0] && tempc[1]) { if ($A.rightExists(tempc[0], '00:00') && $A.rightExists(tempc[1], '00:00')) { - this.$set(times, 1, tempc[1].replace("00:00", "23:59")); + this.$set(this.addData, 'times', [ + tempc[0], + tempc[1].replace("00:00", "23:59") + ]) } } },