Skip to content

Commit 18c4bea

Browse files
committed
feat: i18n BUG 提示
1 parent f1cda1a commit 18c4bea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pages/demo/page/i18n.vue

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
<template>
1111
<view class="center flex-col mt-6">
12+
<view class="text-red-500 p-4 leading-6">
13+
经过我的测试发现,小程序里面会有2处BUG:
14+
<view>1. 页面标题多语言不生效</view>
15+
<view>2. 多语言传递的参数不生效,如下 heavy</view>
16+
</view>
1217
<view class="text-green-500">多语言测试</view>
1318
<view class="m-4">{{ $t('app.name') }}</view>
1419
<view class="m-4">{{ $t('weight', { heavy: 100 }) }}</view>

0 commit comments

Comments
 (0)