Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xysBooking
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-01-24 13:06:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de19eff014e5115a007c3920771dcc55decc9408
de19eff0
1 parent
3bd9ed14
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/booking.vue
src/views/booking.vue
View file @
de19eff
<!--
* @Date: 2024-01-15 13:35:51
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-24 1
0:26:55
* @LastEditTime: 2024-01-24 1
3:05:17
* @FilePath: /xysBooking/src/views/booking.vue
* @Description: 预约页面
-->
...
...
@@ -118,7 +118,7 @@ const dates = ref([]); // 当月日期集合
onMounted(async () => {
const raw_date = new Date();
const { code, data } = await canReserveDateListAPI({ month: `${raw_date.getFullYear()}-${
raw_date.getMonth() + 1
}` });
const { code, data } = await canReserveDateListAPI({ month: `${raw_date.getFullYear()}-${
(raw_date.getMonth() + 1).toString().padStart(2, '0')
}` });
if (code) {
// 日期列表
dates_list.value = data;
...
...
Please
register
or
login
to post a comment