fix
Some checks failed
Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-01-26 14:59:51 +08:00
parent 8f331419e7
commit 44944944ad
2 changed files with 3 additions and 3 deletions

View File

@@ -52,6 +52,6 @@ function hide() {
show.value = false show.value = false
} }
whenever(ctrl_s, () => {}) whenever(ctrl_s!, () => {})
whenever(ctrl_r, () => {}) whenever(ctrl_r!, () => {})
</script> </script>

View File

@@ -98,7 +98,7 @@ async function getContent() {
} }
function createNew() { function createNew() {
tutorial.display = list.value[list.value.length - 1].display + 1 tutorial.display = list.value[list.value.length - 1]?.display ?? 0 + 1
tutorial.title = "" tutorial.title = ""
tutorial.content = "" tutorial.content = ""
tutorial.is_public = false tutorial.is_public = false