<template>
  <div class="demo-date-picker">
    <ui-date-picker
      v-model="value1"
      type="date-time"
      placeholder="时间点选择"
      value-type="date"></ui-date-picker>

    <ui-date-picker
      v-model="value2"
      placeholder="时间区间选择"
      type="date-time"
      mode="range"
      value-type="date"></ui-date-picker>
  </div>
</template>

<script>
import { DatePicker } from "amumu-ui"

export default {
  components: {
    "ui-date-picker": DatePicker,
  },
  data() {
    return {
      value1: "",
      value2: "",
    }
  },
}
</script>
