This commit is contained in:
2025-03-04 08:52:28 +08:00
parent f91b4ab856
commit 2af1109ced
8 changed files with 29 additions and 13 deletions

View File

@@ -20,7 +20,7 @@
type="error"
v-if="showMeesage"
class="message"
title="登录失败"
title="登录失败,请检查用户名和密码"
></n-alert>
<n-flex>
<n-button block @click="submit" type="primary">登录</n-button>

View File

@@ -22,8 +22,9 @@ import { computed, onMounted, ref, useTemplateRef, watch } from "vue"
import { marked } from "marked"
import { useStorage } from "@vueuse/core"
import { Tutorial } from "../api"
import { STORAGE_KEY } from "../utils/const"
const step = useStorage("web-turtorial-step", 1)
const step = useStorage(STORAGE_KEY.STEP, 1)
const displays = ref<number[]>([])
const content = ref("")
const $content = useTemplateRef("$content")