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>
|
<template>
|
||||||
{{ studentList }}<br /><br />{{ homeworkData }}<br /><br />{{ selectedSet }}
|
|
||||||
<v-container class="main-window" fluid>
|
<v-container class="main-window" fluid>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="11">
|
<v-col cols="11">
|
||||||
@ -134,7 +133,7 @@ export default {
|
|||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
backurl: "http://localhost:3030",
|
backurl: import.meta.env.VITE_BACKURL,
|
||||||
currentEditSubject: null,
|
currentEditSubject: null,
|
||||||
studentList: ["加载中"],
|
studentList: ["加载中"],
|
||||||
selectedSet: new Set(),
|
selectedSet: new Set(),
|
||||||
@ -193,8 +192,12 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setCurrentDate() {
|
setCurrentDate() {
|
||||||
const today = new Date();
|
if (this.$route.query.date) {
|
||||||
this.dateString = today.toISOString().split("T")[0];
|
this.dateString = this.$route.query.date;
|
||||||
|
} else {
|
||||||
|
const today = new Date();
|
||||||
|
this.dateString = today.toISOString().split("T")[0];
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
handleClose() {
|
handleClose() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user