From cae41a8da2611109ff6fb01ec1c2c38c687e79c4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 23 Sep 2021 09:35:59 +0800
Subject: [PATCH] 新增通用方法简化模态/缓存使用

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