riku
2024-07-29 cda6938d898dc9744cea408c6e34d591710f6003
src/components/search-option/FYOptionTime.vue
@@ -14,6 +14,7 @@
import dayjs from 'dayjs';
const MONTH = 'month';
const DATE = 'date';
export default {
  props: {
@@ -42,14 +43,6 @@
    handleChange(value) {
      this.$emit('update:value', value);
    },
    timeFormat() {
      switch (this.type) {
        case MONTH:
          return 'YYYY-MM';
        default:
          return 'YYYY-MM';
      }
    }
  },
  mounted() {
    if (this.initValue) {