commitdevelopee7d59566a
Author: zcx <1078327420@qq.com> Date: Wed May 15 10:18:52 2024 +0800 修改上传文件结构 commitc143d66957
Author: zcx <1078327420@qq.com> Date: Wed May 15 10:12:58 2024 +0800 1 commitd4b226f46c
Author: zcx <1078327420@qq.com> Date: Wed May 15 09:39:59 2024 +0800 1 commit18119839d9
Author: zcx <1078327420@qq.com> Date: Wed May 15 09:08:06 2024 +0800 修改 commit4ca319060a
Author: zcx <1078327420@qq.com> Date: Sun May 12 21:41:25 2024 +0800 1 commit420c9925aa
Author: zcx <1078327420@qq.com> Date: Sun May 12 21:00:08 2024 +0800 修改文件结构 commitdece352494
Author: zcx <1078327420@qq.com> Date: Sun May 12 19:47:44 2024 +0800 1 commitc4de9ccc45
Author: zcx <1078327420@qq.com> Date: Sun May 12 19:36:07 2024 +0800 1 commit05aefb2d55
Author: zcx <1078327420@qq.com> Date: Sun May 12 19:28:09 2024 +0800 1 commit2991a0288e
Author: zcx <1078327420@qq.com> Date: Sun May 12 19:24:16 2024 +0800 1 commitf0a01dc52a
Author: zcx <1078327420@qq.com> Date: Sun May 12 19:14:07 2024 +0800 1 commit103b91481d
Merge:3f241a6
d73c814
Author: zcx <1078327420@qq.com> Date: Sat May 11 16:10:15 2024 +0800 Merge branch 'develop' of https://bdgit.educoder.net/mwxbgi697/softegg into 曾晨曦_branch # Conflicts: # src/前端/walktofree/src/components/new_file.vue # src/前端/walktofree/src/main.js # src/前端/walktofree/src/pages/Communication.vue # src/前端/walktofree/src/pages/Login.vue # src/前端/walktofree/src/pages/Pay.vue # src/前端/walktofree/src/pages/Register.vue # src/前端/walktofree/src/pages/SecurityVerification.vue # src/前端/walktofree/src/pages/addDemand.vue # src/前端/walktofree/src/pages/mine.vue # src/前端/walktofree/src/router/index.js
parent
a0642f1797
commit
0f844484d9
@ -0,0 +1,45 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, watchEffect } from 'vue'
|
||||
import { format } from 'date-fns'
|
||||
const startDateValue = ref(format(new Date(), 'yyyy-MM-dd'))
|
||||
const endDateValue = ref(format(new Date(), 'yyyy-MM-dd'))
|
||||
watchEffect(() => {
|
||||
console.log('startDateValue:', startDateValue.value)
|
||||
console.log('endDateValue:', endDateValue.value)
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
<VueDatePicker
|
||||
placeholder="请选择预计出发日期"
|
||||
:min-date="new Date()"
|
||||
format="yyyy-MM-dd"
|
||||
v-model="startDateValue" />
|
||||
<VueDatePicker
|
||||
placeholder="请选择预计返回日期"
|
||||
:min-date="new Date()"
|
||||
format="yyyy-MM-dd"
|
||||
v-model="endDateValue" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, watchEffect } from 'vue'
|
||||
import { format } from 'date-fns'
|
||||
const startDateValue = ref(format(new Date(), 'yyyy-MM-dd'))
|
||||
const endDateValue = ref(format(new Date(), 'yyyy-MM-dd'))
|
||||
watchEffect(() => {
|
||||
console.log('startDateValue:', startDateValue.value)
|
||||
console.log('endDateValue:', endDateValue.value)
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
<VueDatePicker
|
||||
placeholder="请选择预计出发日期"
|
||||
:min-date="new Date()"
|
||||
format="yyyy-MM-dd"
|
||||
v-model="startDateValue" />
|
||||
<VueDatePicker
|
||||
placeholder="请选择预计返回日期"
|
||||
:min-date="new Date()"
|
||||
format="yyyy-MM-dd"
|
||||
v-model="endDateValue" />
|
||||
</template>
|
Loading…
Reference in new issue