This commit is contained in:
2024-12-18 23:26:18 +08:00
parent 28023d5694
commit d053c8e1ba
3 changed files with 816 additions and 647 deletions

1422
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,37 +11,37 @@
"dependencies": {
"@codemirror/lang-cpp": "^6.0.2",
"@codemirror/lang-python": "^6.1.6",
"@vueuse/core": "^11.2.0",
"@wangeditor-next/editor": "^5.6.12",
"@vueuse/core": "^12.0.0",
"@wangeditor-next/editor": "^5.6.19",
"@wangeditor-next/editor-for-vue": "^5.1.14",
"axios": "^1.7.7",
"axios": "^1.7.9",
"canvas-confetti": "^1.9.3",
"chart.js": "^4.4.6",
"chart.js": "^4.4.7",
"codemirror": "^6.0.1",
"copy-text-to-clipboard": "^3.2.0",
"date-fns": "^4.1.0",
"highlight.js": "^11.10.0",
"naive-ui": "^2.40.1",
"highlight.js": "^11.11.0",
"naive-ui": "^2.40.3",
"normalize.css": "^8.0.1",
"pinia": "^2.2.6",
"pinia": "^2.3.0",
"vue": "^3.5.13",
"vue-chartjs": "^5.3.2",
"vue-codemirror": "^6.1.1",
"vue-router": "^4.4.5"
"vue-router": "^4.5.0"
},
"devDependencies": {
"@iconify/vue": "^4.1.2",
"@shikijs/markdown-it": "^1.23.0",
"@types/canvas-confetti": "^1.6.4",
"@types/node": "^22.9.0",
"@vitejs/plugin-vue": "^5.2.0",
"prettier": "^3.3.3",
"@iconify/vue": "^4.2.0",
"@shikijs/markdown-it": "^1.24.2",
"@types/canvas-confetti": "^1.9.0",
"@types/node": "^22.10.2",
"@vitejs/plugin-vue": "^5.2.1",
"prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0",
"typescript": "^5.6.3",
"unplugin-auto-import": "^0.18.4",
"unplugin-vue-components": "^0.27.4",
"unplugin-vue-markdown": "^0.26.2",
"vite": "^5.4.11",
"typescript": "^5.7.2",
"unplugin-auto-import": "^0.19.0",
"unplugin-vue-components": "^0.28.0",
"unplugin-vue-markdown": "^0.28.0",
"vite": "^6.0.3",
"vue-tsc": "^2.1.10"
}
}

View File

@@ -91,12 +91,15 @@ interface Props {
const props = defineProps<Props>()
const options: SelectOption[] = [
{ label: "10分钟内", value: "minutes:10" },
{ label: "20分钟内", value: "minutes:20" },
{ label: "30分钟内", value: "minutes:30" },
{ label: "本节课内", value: "hours:1" },
{ label: "两小时内", value: "hours:2" },
{ label: "一天内", value: "days:1" },
{ label: "一周内", value: "weeks:1" },
{ label: "一个月内", value: "months:1" },
{ label: "一年内", value: "years:1" },
]
const columns: DataTableColumn[] = [