From e2a7df4a2cd832104bfbea315f10670dedadbebc Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Fri, 26 Nov 2021 18:09:50 +0800
Subject: [PATCH] camelCase中应该是下划线,而不是横杠
---
ruoyi-ui/src/components/Crontab/week.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/ruoyi-ui/src/components/Crontab/week.vue
index cb4c542..5ad949d 100644
--- a/ruoyi-ui/src/components/Crontab/week.vue
+++ b/ruoyi-ui/src/components/Crontab/week.vue
@@ -71,8 +71,8 @@
this.$emit('update', 'week', '*');
this.$emit('update', 'year', '*');
} else {
- if (this.cron.mouth === '*') {
- this.$emit('update', 'mouth', '0', 'week');
+ if (this.cron.month === '*') {
+ this.$emit('update', 'month', '0', 'week');
}
if (this.cron.day === '*') {
this.$emit('update', 'day', '0', 'week');
@@ -164,4 +164,4 @@
}
}
}
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3