WrapperRangePicker.vue 503 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <a-range-picker
  3. :value="value"
  4. @update:value="(v: unknown) => $emit('update:value', v)"
  5. :showTime="showTime"
  6. v-bind="additionalProps"
  7. />
  8. </template>
  9. <script lang="ts">
  10. import { defineComponent, type PropType } from "vue";
  11. export default defineComponent({
  12. props: {
  13. additionalProps: {
  14. type: Object as PropType<Record<string, unknown>>,
  15. },
  16. showTime: {
  17. type: Boolean,
  18. },
  19. value: {
  20. },
  21. },
  22. emist: [
  23. 'update:value'
  24. ],
  25. });
  26. </script>