hcong
2024-09-27 49774b6f258cf4a348b60fe7aaf610d0ffd5b5f4
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) {