web improve (#1047)

This commit is contained in:
Sijie.Sun
2025-06-24 09:09:52 +08:00
committed by GitHub
parent 760a1e6306
commit ae4a158e36
18 changed files with 1628 additions and 176 deletions
+1 -2
View File
@@ -1,11 +1,10 @@
<script setup lang="ts">
import { I18nUtils } from 'easytier-frontend-lib'
import { onMounted } from 'vue';
import { Toast, DynamicDialog } from 'primevue';
onMounted(async () => {
await I18nUtils.loadLanguageAsync('cn')
await I18nUtils.loadLanguageAsync(localStorage.getItem('lang') || 'en')
});
</script>