江麻妞
2021-06-01 eca8907a11c28d816c3da5a0667f45a38a499012
refs
用户 江麻妞 <50100681+jiangmaniu@users.noreply.github.com>
星期二, 六月 1, 2021 21:37 +0800
提交者 GitHub <noreply@github.com>
星期二, 六月 1, 2021 21:37 +0800
提交eca8907a11c28d816c3da5a0667f45a38a499012
目录 a09b2f6785c0f632c9d443b4d96781ff909fb2f5 目录 | zip | gz
parent e1123a2ccb5d5450a5072c19e5508a5dc0f14423 查看 | 对比
fix: Fix the problem that the `lang` attribute of `HTML` will not be set when it is first loaded (#682)

* refactor: Encapsulate the function of changing the page language

* fix(lang): Fix the problem that the `lang` attribute of `HTML` will not be set when it is first loaded
2个文件已修改
11 ■■■■ 已修改文件
src/locales/setupI18n.ts 5 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
src/locales/useLocale.ts 6 ●●●● 对比 | 查看 | 原始文档 | blame | 历史