From 7b6fdb3a893275ff82ba5c868287a1e12dcd75f1 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sun, 27 Apr 2025 11:56:21 +0800
Subject: [PATCH] remove all semicolons

---
 ruoyi-ui/src/components/Crontab/week.vue |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/ruoyi-ui/src/components/Crontab/week.vue
index 1cec700..75c42ed 100644
--- a/ruoyi-ui/src/components/Crontab/week.vue
+++ b/ruoyi-ui/src/components/Crontab/week.vue
@@ -118,52 +118,52 @@
 		// 单选按钮值变化时
 		radioChange() {
 			if (this.radioValue !== 2 && this.cron.day !== '?') {
-				this.$emit('update', 'day', '?', 'week');
+				this.$emit('update', 'day', '?', 'week')
 			}
 			switch (this.radioValue) {
 				case 1:
-					this.$emit('update', 'week', '*');
-					break;
+					this.$emit('update', 'week', '*')
+					break
 				case 2:
-					this.$emit('update', 'week', '?');
-					break;
+					this.$emit('update', 'week', '?')
+					break
 				case 3:
-					this.$emit('update', 'week', this.cycleTotal);
-					break;
+					this.$emit('update', 'week', this.cycleTotal)
+					break
 				case 4:
-					this.$emit('update', 'week', this.averageTotal);
-					break;
+					this.$emit('update', 'week', this.averageTotal)
+					break
 				case 5:
-					this.$emit('update', 'week', this.weekdayCheck + 'L');
-					break;
+					this.$emit('update', 'week', this.weekdayCheck + 'L')
+					break
 				case 6:
-					this.$emit('update', 'week', this.checkboxString);
-					break;
+					this.$emit('update', 'week', this.checkboxString)
+					break
 			}
 		},
 
 		// 周期两个值变化时
 		cycleChange() {
 			if (this.radioValue == '3') {
-				this.$emit('update', 'week', this.cycleTotal);
+				this.$emit('update', 'week', this.cycleTotal)
 			}
 		},
 		// 平均两个值变化时
 		averageChange() {
 			if (this.radioValue == '4') {
-				this.$emit('update', 'week', this.averageTotal);
+				this.$emit('update', 'week', this.averageTotal)
 			}
 		},
 		// 最近工作日值变化时
 		weekdayChange() {
 			if (this.radioValue == '5') {
-				this.$emit('update', 'week', this.weekday + 'L');
+				this.$emit('update', 'week', this.weekday + 'L')
 			}
 		},
 		// checkbox值变化时
 		checkboxChange() {
 			if (this.radioValue == '6') {
-				this.$emit('update', 'week', this.checkboxString);
+				this.$emit('update', 'week', this.checkboxString)
 			}
 		},
 	},
@@ -179,23 +179,23 @@
 		cycleTotal: function () {
 			this.cycle01 = this.checkNum(this.cycle01, 1, 7)
 			this.cycle02 = this.checkNum(this.cycle02, 1, 7)
-			return this.cycle01 + '-' + this.cycle02;
+			return this.cycle01 + '-' + this.cycle02
 		},
 		// 计算平均用到的值
 		averageTotal: function () {
 			this.average01 = this.checkNum(this.average01, 1, 4)
 			this.average02 = this.checkNum(this.average02, 1, 7)
-			return this.average02 + '#' + this.average01;
+			return this.average02 + '#' + this.average01
 		},
 		// 最近的工作日(格式)
 		weekdayCheck: function () {
 			this.weekday = this.checkNum(this.weekday, 1, 7)
-			return this.weekday;
+			return this.weekday
 		},
 		// 计算勾选的checkbox值合集
 		checkboxString: function () {
-			let str = this.checkboxList.join();
-			return str == '' ? '*' : str;
+			let str = this.checkboxList.join()
+			return str == '' ? '*' : str
 		}
 	}
 }

--
Gitblit v1.9.3