From 730151b13fb6ae5c426039868a7566cfd9fc3b96 Mon Sep 17 00:00:00 2001 From: yjb Date: Sat, 23 Oct 2021 23:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=91=A8=E5=A4=9A=E9=80=89?= =?UTF-8?q?=E6=97=B6=E6=96=87=E5=AD=97=E6=98=BE=E7=A4=BA=E5=8F=8A=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E6=95=B0=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/Crontab/week.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/ruoyi-ui/src/components/Crontab/week.vue index f42fb60ad..377fa4006 100644 --- a/ruoyi-ui/src/components/Crontab/week.vue +++ b/ruoyi-ui/src/components/Crontab/week.vue @@ -42,7 +42,7 @@ 指定 - {{ item }} + {{ item }} @@ -70,15 +70,11 @@ export default { props: ['check', 'cron'], methods: { selectChange(data) { - console.log(data); this.radioValue = 6 this.checkboxList = [] - this.checkboxDescribeList = [] data.forEach(value => { this.weekList.forEach((item,index) => { - if (index+1 === value) { - console.log((item)); - this.checkboxDescribeList.push(this.weekList[index]) + if (item === value) { this.checkboxList.push(index + 1) } })