前端首页置标题

This commit is contained in:
2025-01-17 12:42:44 +08:00
parent 9068f76585
commit 0b67c146a8
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue';
onMounted(() => {
window.document.title = `特恩的日志`;
// 界面特效字体
let nameElement = document.getElementById("my-name");
if (nameElement == null) {