cron生成的表达式hour优化

This commit is contained in:
RuoYi 2024-06-25 12:02:23 +08:00
parent 259dc67728
commit 5b98495067

View File

@ -51,6 +51,12 @@ export default {
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', '*')