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) } })