!599 Crontab组件radio的label类型不一致

Merge pull request !599 from 高小牛/master
This commit is contained in:
芋道源码 2023-09-03 10:02:32 +00:00 committed by Gitee
commit 8321d14b0b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 23 additions and 23 deletions

View File

@ -103,25 +103,25 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'day', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'day', this.averageTotal);
}
},
//
workdayChange() {
if (this.radioValue === '5') {
if (this.radioValue === 5) {
this.$emit('update', 'day', this.workdayCheck + 'W');
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '7') {
if (this.radioValue === 7) {
this.$emit('update', 'day', this.checkboxString);
}
}

View File

@ -68,19 +68,19 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '2') {
if (this.radioValue === 2) {
this.$emit('update', 'hour', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'hour', this.averageTotal);
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'hour', this.checkboxString);
}
}

View File

@ -69,19 +69,19 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '2') {
if (this.radioValue === 2) {
this.$emit('update', 'min', this.cycleTotal, 'min');
}
},
//
averageChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'min', this.averageTotal, 'min');
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'min', this.checkboxString, 'min');
}
},

View File

@ -68,19 +68,19 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '2') {
if (this.radioValue === 2) {
this.$emit('update', 'month', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'month', this.averageTotal);
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'month', this.checkboxString);
}
}

View File

@ -68,19 +68,19 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '2') {
if (this.radioValue === 2) {
this.$emit('update', 'second', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'second', this.averageTotal);
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'second', this.checkboxString);
}
}

View File

@ -144,25 +144,25 @@ export default {
//
cycleChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'week', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'week', this.averageTotal);
}
},
//
weekdayChange() {
if (this.radioValue === '5') {
if (this.radioValue === 5) {
this.$emit('update', 'week', this.weekday + 'L');
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '6') {
if (this.radioValue === 6) {
this.$emit('update', 'week', this.checkboxString);
}
},

View File

@ -79,19 +79,19 @@ export default {
},
//
cycleChange() {
if (this.radioValue === '3') {
if (this.radioValue === 3) {
this.$emit('update', 'year', this.cycleTotal);
}
},
//
averageChange() {
if (this.radioValue === '4') {
if (this.radioValue === 4) {
this.$emit('update', 'year', this.averageTotal);
}
},
// checkbox
checkboxChange() {
if (this.radioValue === '5') {
if (this.radioValue === 5) {
this.$emit('update', 'year', this.checkboxString);
}
}