auto jump to mobile page when use mobile device access the page

This commit is contained in:
RockYang
2024-10-04 11:25:01 +08:00
parent 88e7c39066
commit e2960b2607
8 changed files with 27 additions and 26 deletions

View File

@@ -219,7 +219,6 @@ import ChatReply from "@/components/ChatReply.vue";
import {Delete, Edit, InfoFilled, More, Plus, Promotion, Search, Share, VideoPause} from '@element-plus/icons-vue'
import 'highlight.js/styles/a11y-dark.css'
import {
isMobile,
randString,
removeArrayItem,
UUID
@@ -294,10 +293,6 @@ if (!chatId.value) {
})
}
if (isMobile()) {
router.replace("/mobile/chat")
}
// 获取系统配置
getSystemInfo().then(res => {
title.value = res.data.title