From 7e2cda48867889f59f5adac4cf03785d75cc1fb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com>
Date: Mon, 29 Jan 2024 18:53:57 +0800
Subject: [PATCH] refactor: i18n
---
src/pages/index/index.vue | 8 +++++---
src/utils/http.ts | 6 ------
src/utils/index.ts | 13 +++++++++++++
3 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 9b5859e..431ac1b 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -12,10 +12,10 @@
class="bg-white h-full overflow-hidden pt-2 px-4"
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
>
+ {{ $t('app.name') }}
- {{ $t('app.name') }}
unibest
最好用的 uniapp 开发模板
@@ -38,9 +38,11 @@