diff --git a/src/pages.json b/src/pages.json
index 0f631f8..4ada0fa 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -51,6 +51,13 @@
"style": {
"navigationBarTitleText": "关于"
}
+ },
+ {
+ "path": "pages/index/i18n",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "%app.name%"
+ }
}
],
"subPackages": [
diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue
index 9b6071c..bd55cf1 100644
--- a/src/pages/index/about.vue
+++ b/src/pages/index/about.vue
@@ -17,7 +17,7 @@
菲鸽
- wot 组件库测试
+ 进入多语言页面
@@ -36,6 +36,12 @@ import PLATFORM from '@/utils/platform'
const { safeAreaInsets } = uni.getSystemInfoSync()
console.log(PLATFORM)
+
+const gotoPage = () => {
+ uni.navigateTo({
+ url: '/pages/index/i18n',
+ })
+}