Compare commits

..

No commits in common. "d19bc044cf2e133e3b9176785f57d7b9449ba7af" and "680ccaba38d6850fc0e5c350a2b70f87578a50b8" have entirely different histories.

4 changed files with 2 additions and 20 deletions

View File

@ -16,15 +16,6 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
## Details
### [v2.12.49](https://github.com/vant-ui/vant/compare/v2.12.48...v2.12.49)
`2022-09-05`
**Bug Fixes**
- Locale: avoid getting unexpected value [#11010](https://github.com/vant-ui/vant/issues/11010)
- Locale: Accurate Vietnamese translation [#10889](https://github.com/vant-ui/vant/issues/10889)
### [v2.12.48](https://github.com/vant-ui/vant/compare/v2.12.47...v2.12.48)
`2022-06-25`

View File

@ -25,15 +25,6 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### [v2.12.49](https://github.com/vant-ui/vant/compare/v2.12.48...v2.12.49)
`2022-09-05`
**Bug Fixes**
- Locale: 修复读取 i18n 文案时可能获取到 JS 原生方法的问题 [#11010](https://github.com/vant-ui/vant/issues/11010)
- Locale: 修复 Vietnamese 越南语中不准确的翻译 [#10889](https://github.com/vant-ui/vant/issues/10889)
### [v2.12.48](https://github.com/vant-ui/vant/compare/v2.12.47...v2.12.48)
`2022-06-25`

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "2.12.49",
"version": "2.12.48",
"description": "Mobile UI Components built on Vue",
"main": "lib/index.js",
"module": "es/index.js",

View File

@ -30,7 +30,7 @@ export function get(object: any, path: string): any {
let result = object;
keys.forEach((key) => {
result = isObject(result) ? result[key] ?? '' : '';
result = result[key] ?? '';
});
return result;