mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-07-02 17:29:23 +00:00
1
This commit is contained in:
parent
72cee17d7f
commit
4e04a37f5b
@ -1,5 +1,4 @@
|
||||
<template>
|
||||
{{ studentList }}<br /><br />{{ homeworkData }}<br /><br />{{ selectedSet }}
|
||||
<v-container class="main-window" fluid>
|
||||
<v-row>
|
||||
<v-col cols="11">
|
||||
@ -134,7 +133,7 @@ export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
backurl: "http://localhost:3030",
|
||||
backurl: import.meta.env.VITE_BACKURL,
|
||||
currentEditSubject: null,
|
||||
studentList: ["加载中"],
|
||||
selectedSet: new Set(),
|
||||
@ -193,8 +192,12 @@ export default {
|
||||
},
|
||||
|
||||
setCurrentDate() {
|
||||
if (this.$route.query.date) {
|
||||
this.dateString = this.$route.query.date;
|
||||
} else {
|
||||
const today = new Date();
|
||||
this.dateString = today.toISOString().split("T")[0];
|
||||
}
|
||||
},
|
||||
|
||||
handleClose() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user