mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
21 lines
420 B
Vue
21 lines
420 B
Vue
<template>
|
|
<div class="demo-basic">
|
|
<el-time-picker v-model="value1" placeholder="Arbitrary time">
|
|
</el-time-picker>
|
|
<el-time-picker v-model="value2" arrow-control placeholder="Arbitrary time">
|
|
</el-time-picker>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue'
|
|
const value1 = ref()
|
|
const value2 = ref()
|
|
</script>
|
|
|
|
<style>
|
|
.demo-basic .el-date-editor {
|
|
margin: 8px;
|
|
}
|
|
</style>
|