update
This commit is contained in:
1855
package-lock.json
generated
1855
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oj-next",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
@@ -11,20 +11,20 @@
|
||||
"dependencies": {
|
||||
"@codemirror/lang-cpp": "^6.0.2",
|
||||
"@codemirror/lang-python": "^6.1.6",
|
||||
"@vueuse/core": "^10.11.1",
|
||||
"@vueuse/core": "^11.0.3",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "5.1.12",
|
||||
"axios": "^1.7.4",
|
||||
"axios": "^1.7.7",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"chart.js": "^4.4.3",
|
||||
"chart.js": "^4.4.4",
|
||||
"codemirror": "^6.0.1",
|
||||
"copy-text-to-clipboard": "^3.2.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"highlight.js": "^11.10.0",
|
||||
"naive-ui": "^2.39.0",
|
||||
"normalize.css": "^8.0.1",
|
||||
"pinia": "^2.2.1",
|
||||
"vue": "^3.4.37",
|
||||
"pinia": "^2.2.2",
|
||||
"vue": "^3.5.3",
|
||||
"vue-chartjs": "^5.3.1",
|
||||
"vue-codemirror": "^6.1.1",
|
||||
"vue-router": "^4.4.3"
|
||||
@@ -32,9 +32,9 @@
|
||||
"devDependencies": {
|
||||
"@iconify/vue": "^4.1.2",
|
||||
"@types/canvas-confetti": "^1.6.4",
|
||||
"@types/node": "^22.2.0",
|
||||
"@vitejs/plugin-legacy": "^5.4.1",
|
||||
"@vitejs/plugin-vue": "^5.1.2",
|
||||
"@types/node": "^22.5.4",
|
||||
"@vitejs/plugin-legacy": "^5.4.2",
|
||||
"@vitejs/plugin-vue": "^5.1.3",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-organize-imports": "^4.0.0",
|
||||
"terser": "^5.31.6",
|
||||
@@ -42,7 +42,7 @@
|
||||
"unplugin-auto-import": "^0.18.2",
|
||||
"unplugin-vue-components": "^0.27.4",
|
||||
"unplugin-vue-markdown": "^0.26.2",
|
||||
"vite": "^5.4.0",
|
||||
"vue-tsc": "^2.0.29"
|
||||
"vite": "^5.4.3",
|
||||
"vue-tsc": "^2.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,13 @@ const columns: DataTableColumn<Comment>[] = [
|
||||
render: (row) => parseTime(row.create_time, "YYYY-MM-DD HH:mm:ss"),
|
||||
width: 200,
|
||||
},
|
||||
{ title: "内容", key: "content", maxWidth: 300, ellipsis: true },
|
||||
{
|
||||
title: "内容",
|
||||
key: "content",
|
||||
minWidth: 200,
|
||||
maxWidth: 300,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: "选项",
|
||||
key: "action",
|
||||
|
||||
@@ -16,11 +16,10 @@ const form = reactive({
|
||||
})
|
||||
const classList: SelectOption[] = [
|
||||
{ label: "不用填", value: "" },
|
||||
{ label: "23计算机1班", value: "ks231" },
|
||||
{ label: "23计算机2班", value: "ks232" },
|
||||
{ label: "23计算机4班", value: "ks234" },
|
||||
{ label: "23计算机5班", value: "ks235" },
|
||||
{ label: "23计算机6班", value: "ks236" },
|
||||
{ label: "24计算机1班", value: "ks241" },
|
||||
{ label: "24计算机2班", value: "ks242" },
|
||||
{ label: "24计算机3班", value: "ks243" },
|
||||
{ label: "24计算机4班", value: "ks244" },
|
||||
]
|
||||
const rules: FormRules = {
|
||||
username: [{ required: true, message: "用户名必填", trigger: "blur" }],
|
||||
|
||||
Reference in New Issue
Block a user