feat: i18n 提示

This commit is contained in:
菲鸽 2024-03-03 15:34:08 +08:00
parent f6110786d3
commit c4bf3b5f02

View File

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