手机端即梦页面功能完成

This commit is contained in:
RockYang
2025-08-09 23:25:47 +08:00
parent c0a89d6f32
commit 9a94d98725
14 changed files with 768 additions and 619 deletions

View File

@@ -118,6 +118,7 @@ import MarkdownIt from 'markdown-it'
import emoji from 'markdown-it-emoji'
import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import { isMobile } from '@/utils/libs'
const router = useRouter()
@@ -146,6 +147,10 @@ const md = new MarkdownIt({
}).use(emoji)
onMounted(() => {
if (isMobile()) {
router.push('/mobile/index')
return
}
getSystemInfo()
.then((res) => {
title.value = res.data.title