mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-10 08:21:06 +08:00
Compare commits
3 Commits
680ccaba38
...
d19bc044cf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d19bc044cf | ||
|
|
dee32fc8c2 | ||
|
|
bd86317887 |
@ -16,6 +16,15 @@ 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`
|
||||
|
||||
@ -25,6 +25,15 @@ 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`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "2.12.48",
|
||||
"version": "2.12.49",
|
||||
"description": "Mobile UI Components built on Vue",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@ -30,7 +30,7 @@ export function get(object: any, path: string): any {
|
||||
let result = object;
|
||||
|
||||
keys.forEach((key) => {
|
||||
result = result[key] ?? '';
|
||||
result = isObject(result) ? result[key] ?? '' : '';
|
||||
});
|
||||
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user