添加提交

This commit is contained in:
2025-03-18 19:16:08 +08:00
parent 3618b5a4b2
commit e4e7507f85
15 changed files with 382 additions and 19 deletions

View File

@@ -5,6 +5,7 @@ import { onMounted, watch } from "vue"
import { Account } from "./api"
import { authed, user } from "./store/user"
import { STORAGE_KEY } from "./utils/const"
import hljs from "highlight.js/lib/core"
onMounted(async () => {
const data = await Account.getMyProfile()
@@ -23,7 +24,12 @@ watch(authed, (v) => {
</script>
<template>
<n-config-provider class="myContainer" :locale="zhCN" :date-locale="dateZhCN">
<n-config-provider
class="myContainer"
:locale="zhCN"
:date-locale="dateZhCN"
:hljs="hljs"
>
<n-modal-provider>
<n-message-provider :max="1">
<n-dialog-provider>