mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
18 lines
251 B
Vue
18 lines
251 B
Vue
|
<template>
|
||
|
<el-calendar v-model="value" />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent, ref } from 'vue'
|
||
|
|
||
|
export default defineComponent({
|
||
|
setup() {
|
||
|
const value = ref(new Date())
|
||
|
|
||
|
return {
|
||
|
value,
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
</script>
|