-
Notifications
You must be signed in to change notification settings - Fork 19
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
71b91f6
commit 3d9c5e2
Showing
4 changed files
with
51 additions
and
14 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 |
---|---|---|
@@ -1,11 +1,26 @@ | ||
<template> | ||
<div> | ||
<vxe-date-picker v-model="val1" placeholder="可选日期限制" start-date="2000-01-01" end-date="2040-01-01"></vxe-date-picker> | ||
<vxe-date-picker v-model="val1" placeholder="周选择,周天开始" type="week" :start-day="0"></vxe-date-picker> | ||
<vxe-date-picker v-model="val2" placeholder="周选择,周一开始" type="week" :start-day="1"></vxe-date-picker> | ||
<vxe-date-picker v-model="val3" placeholder="周选择,周二开始" type="week" :start-day="2"></vxe-date-picker> | ||
<vxe-date-picker v-model="val4" placeholder="周选择,周三开始" type="week" :start-day="3" clearable></vxe-date-picker> | ||
<vxe-date-picker v-model="val5" placeholder="周选择,周四开始" type="week" :start-day="4" clearable></vxe-date-picker> | ||
<vxe-date-picker v-model="val6" placeholder="周选择,周五开始" type="week" :start-day="5" clearable></vxe-date-picker> | ||
<vxe-date-picker v-model="val7" placeholder="周选择,周六开始" type="week" :start-day="6" clearable></vxe-date-picker> | ||
|
||
<vxe-date-picker v-model="val8" placeholder="可选日期限制" start-date="2000-01-01" end-date="2040-01-01"></vxe-date-picker> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
const val1 = ref('') | ||
const val2 = ref('') | ||
const val3 = ref('') | ||
const val4 = ref('') | ||
const val5 = ref('') | ||
const val6 = ref('') | ||
const val7 = ref('') | ||
const val8 = ref('') | ||
</script> |
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
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