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/year.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/components/Crontab/year.vue b/ruoyi-ui/src/components/Crontab/year.vue
index 8cb886f..800dfa5 100644
--- a/ruoyi-ui/src/components/Crontab/year.vue
+++ b/ruoyi-ui/src/components/Crontab/year.vue
@@ -55,12 +55,12 @@
 		}
 	},
 	name: 'crontab-year',
-	props: ['check', 'mouth', 'cron'],
+	props: ['check', 'month', 'cron'],
 	methods: {
 		// 单选按钮值变化时
 		radioChange() {
-			if (this.cron.mouth === '*') {
-				this.$emit('update', 'mouth', '0', 'year');
+			if (this.cron.month === '*') {
+				this.$emit('update', 'month', '0', 'year');
 			}
 			if (this.cron.day === '*') {
 				this.$emit('update', 'day', '0', 'year');
@@ -141,4 +141,4 @@
 		this.fullYear = Number(new Date().getFullYear());
 	}
 }
-</script>
\ No newline at end of file
+</script>

--
Gitblit v1.9.3