fuzui
2021-11-30 ca285f5e53aea0dae4fb1db8e46a0c0cb70afa29
ruoyi-ui/src/components/Crontab/hour.vue
@@ -51,18 +51,10 @@
   methods: {
      // 单选按钮值变化时
      radioChange() {
         if (this.radioValue === 1) {
            this.$emit('update', 'hour', '*', 'hour');
            this.$emit('update', 'day', '*', 'hour');
         } else {
            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', '*')
           break;
            case 2:
               this.$emit('update', 'hour', this.cycle01 + '-' + this.cycle02);
               break;