From 5b5a3ec32e479b6c43822fd0192cde6e2f3b31e5 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 26 十二月 2024 17:47:16 +0800
Subject: [PATCH] 赋码demo

---
 src/components/Crontab/hour.vue |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/components/Crontab/hour.vue b/src/components/Crontab/hour.vue
index 3216c33..4b1f1fc 100644
--- a/src/components/Crontab/hour.vue
+++ b/src/components/Crontab/hour.vue
@@ -51,16 +51,10 @@
 	methods: {
 		// 鍗曢�夋寜閽�煎彉鍖栨椂
 		radioChange() {
-			if (this.cron.min === '*') {
-			    this.$emit('update', 'min', '0', 'hour');
-			}
-			if (this.cron.second === '*') {
-			    this.$emit('update', 'second', '0', 'hour');
-			}
 			switch (this.radioValue) {
 				case 1:
-					this.$emit('update', 'hour', '*')
-					break;
+        	this.$emit('update', 'hour', '*')
+        	break;
 				case 2:
 					this.$emit('update', 'hour', this.cycleTotal);
 					break;

--
Gitblit v1.8.0