update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-03-18 18:40:15 +08:00
parent dd52e3e1f9
commit 4e95a2fad0
11 changed files with 41 additions and 422 deletions

View File

@@ -81,7 +81,6 @@ const message = useMessage()
const confirm = useDialog()
const list = ref<TutorialSlim[]>([])
const content = ref("")
const tutorial = reactive({
display: 0,
title: "",
@@ -102,7 +101,6 @@ function createNew() {
tutorial.title = ""
tutorial.content = ""
tutorial.is_public = false
content.value = ""
}
async function submit() {
@@ -114,7 +112,6 @@ async function submit() {
tutorial.content = ""
tutorial.is_public = false
await getContent()
content.value = ""
} catch (error: any) {
message.error(error.response.data.detail)
}