element-plus/docs/examples/time-picker/basic.vue
啝裳 ea90c4c148
docs: fix all style contamination (#5656)
* docs: fix all style contamination

* fix: update
2022-02-06 09:18:11 +08:00

21 lines
426 B
Vue

<template>
<div class="example-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>
.example-basic .el-date-editor {
margin: 8px;
}
</style>