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

@@ -73,13 +73,14 @@ import { useStorage } from "@vueuse/core"
import { Tutorial } from "../api"
import type { TutorialSlim } from "../utils/type"
import { useDialog, useMessage } from "naive-ui"
import { STORAGE_KEY } from "../utils/const"
const message = useMessage()
const confirm = useDialog()
const list = ref<TutorialSlim[]>([])
const content = ref("")
const tutorial = useStorage("web-tutorial", {
const tutorial = useStorage(STORAGE_KEY.TUTORIAL, {
display: 0,
title: "",
content: "",