update url

This commit is contained in:
2023-12-14 12:56:28 +08:00
parent 4ab1f6da4f
commit 82a0e72122
39 changed files with 299 additions and 350 deletions

View File

@@ -30,7 +30,7 @@ const errMessage = ref('')
async function get() {
isLoading.value = true
await QueryGetAPI<ScheduleWeekInfo[]>(SCHEDULE_API_URL + 'get', {
await QueryGetAPI<ScheduleWeekInfo[]>(SCHEDULE_API_URL() + 'get', {
id: props.userInfo?.id,
})
.then((data) => {
@@ -42,7 +42,6 @@ async function get() {
}
})
.catch((err) => {
console.error(err)
message.error('加载失败')
})
.finally(() => {