pretty ui title

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-06-23 12:19:47 +08:00
parent dd2e8351a5
commit c9097e95df
5 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rttys</title>
<title>RTTY</title>
</head>
<body>
<div id="app"></div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

+7
View File
@@ -6,6 +6,13 @@
<script setup>
import { locale } from './element-plus'
import { useI18n } from 'vue-i18n'
import { onMounted } from 'vue'
onMounted(() => {
const i18n = useI18n()
document.title = i18n.t('app.title')
})
</script>
<style>
+3
View File
@@ -1,4 +1,7 @@
{
"app": {
"title": "RTTY - Remote Terminal Access"
},
"Authorization Required": "Authorization Required",
"Username": "Username",
"Enter username...": "Enter username...",
+3
View File
@@ -1,4 +1,7 @@
{
"app": {
"title": "RTTY - 远程终端访问工具"
},
"Authorization Required": "需要授权",
"Username": "用户名",
"Enter username...": "请输入用户名...",