This commit is contained in:
xuyue committed 2026-03-26 08:11:08 -06:00
1 parent 4b58cee204
commit 597f1f0f93
14 files changed
+408 -532

No files matched your search

+7 -1
View File
@@ -93,7 +93,13 @@ const canSubmit = computed(
)
async function getContent() {
list.value = await Tutorial.list()
show(Number(route.params.display))
const display = Number(route.params.display)
const target = list.value.find((item) => item.display === display)
if (target) {
show(display)
} else if (list.value.length > 0) {
show(list.value[0].display)
}
}
function createNew() {