This commit is contained in:
xuyue committed 2026-03-18 18:40:15 +08:00
1 parent dd52e3e1f9
commit 4e95a2fad0
11 files changed
+41 -422

No files matched your search

-3
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)
}