docs: i18n readme

This commit is contained in:
菲鸽 2024-01-29 20:16:56 +08:00
parent 2416faedca
commit a4434b0270
2 changed files with 7 additions and 1 deletions

7
src/locale/README.md Normal file
View File

@ -0,0 +1,7 @@
# 注意事项
> 文件夹名字必须为 `locale`, 这是 `uniapp` 官方约定的,如果改为别的,标题将不能正常切换多语言(其他内容还是正常)。
>
> `xxx.json``xxx` 多语言标识必须与 `uniapp` 官方约定的一致,否则也会出现 BUG。
>
> 查看截图 `screenshots/i18n.png`

View File

@ -80,4 +80,3 @@ const radioChange = (evt) => {
background-color: #bcecd1; background-color: #bcecd1;
} }
</style> </style>
@/locale/index