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) {