fix: 修复crontab选择月 日的时间重置问题

This commit is contained in:
“怀磊”
2021-10-20 13:57:08 +08:00
committed by 老广
parent 761eb0c3b1
commit 7dd11f1259

View File

@@ -108,10 +108,9 @@ export default {
radioChange() {
if (this.radioValue === 1) {
this.$emit('update', 'mouth', '*')
// this.$emit('update', 'year', '*')
} else {
if (this.cron.day === '*') {
this.$emit('update', 'day', '0', 'mouth')
this.$emit('update', 'day', '*', 'mouth')
}
if (this.cron.hour === '*') {
this.$emit('update', 'hour', '0', 'mouth')