mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
fix: 修复crontab选择月 日的时间重置问题
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user