-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f14811
commit 9bb1936
Showing
3 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<template> | ||
<t-space direction="vertical"> | ||
<t-time-picker v-model="time1" class="demos" :presets="{ 上午十一点: '11:00:00' }" /> | ||
<t-time-range-picker | ||
v-model="time2" | ||
class="demos" | ||
clearable | ||
format="HH:mm:ss" | ||
allow-input | ||
:presets="{ 下午: ['13:00:00', '18:00:00'] }" | ||
/> | ||
</t-space> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue'; | ||
const time1 = ref('20:22'); | ||
const time2 = ref(['00:00:00', '23:59:59']); | ||
</script> | ||
|
||
<style scoped> | ||
.demos { | ||
margin-top: 20px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters