fuzui
2021-11-30 34f2552cad396ce79a7cf4a50a15ff8bf5d817b6
ruoyi-ui/src/components/Crontab/day.vue
@@ -72,23 +72,14 @@
      // 单选按钮值变化时
      radioChange() {
         ('day rachange');
         if (this.radioValue === 1) {
            this.$emit('update', 'day', '*', 'day');
            this.$emit('update', 'week', '?', 'day');
            this.$emit('update', 'month', '*', 'day');
         } else {
            if (this.cron.hour === '*') {
               this.$emit('update', 'hour', '0', 'day');
            }
            if (this.cron.min === '*') {
               this.$emit('update', 'min', '0', 'day');
            }
            if (this.cron.second === '*') {
               this.$emit('update', 'second', '0', 'day');
            }
         if (this.radioValue !== 2 && this.cron.week !== '?') {
            this.$emit('update', 'week', '?', 'day')
         }
         switch (this.radioValue) {
            case 1:
               this.$emit('update', 'day', '*');
               break;
            case 2:
               this.$emit('update', 'day', '?');
               break;