0d84b07f68
CI / docker (push) Successful in 1m58s
Go + Vue 管理台:Agent 隧道、域名反代、IP 安全、访客验证与监控大盘。 Gitea Actions CI 多架构镜像;纯 Go SQLite、无 CGO Docker 构建。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
415 B
Vue
16 lines
415 B
Vue
<template>
|
|
<el-config-provider :locale="epLocale">
|
|
<router-view />
|
|
</el-config-provider>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { computed } from 'vue'
|
|
import { useI18n } from 'vue-i18n'
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
import enLocale from 'element-plus/dist/locale/en.mjs'
|
|
|
|
const { locale } = useI18n()
|
|
const epLocale = computed(() => (locale.value === 'en' ? enLocale : zhCn))
|
|
</script>
|