mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
23 lines
408 B
Vue
23 lines
408 B
Vue
|
<template>
|
||
|
<div class="example-basic">
|
||
|
<el-time-picker v-model="value1" placeholder="Arbitrary time" />
|
||
|
<el-time-picker
|
||
|
v-model="value2"
|
||
|
arrow-control
|
||
|
placeholder="Arbitrary time"
|
||
|
/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup>
|
||
|
import { ref } from 'vue'
|
||
|
const value1 = ref()
|
||
|
const value2 = ref()
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.example-basic .el-date-editor {
|
||
|
margin: 8px;
|
||
|
}
|
||
|
</style>
|