feat: i18n 提示
This commit is contained in:
parent
f6110786d3
commit
c4bf3b5f02
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user