alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.12k stars 1.44k forks source link

feat: export getLocaleByPath #4006

Closed uxuip closed 9 months ago

uxuip commented 9 months ago

Before submitting a pull request, please make sure the following is done...

Please do not delete the above content


What have you changed?

导出获取i18n消息的函数,似乎没法获取设置的值,如果有别的方式,还请告知

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d8716ea) 99.55% compared to head (777a1b5) 99.55%. Report is 1 commits behind head on formily_next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## formily_next #4006 +/- ## ============================================= Coverage 99.55% 99.55% ============================================= Files 152 152 Lines 6716 6717 +1 Branches 1881 1881 ============================================= + Hits 6686 6687 +1 Misses 29 29 Partials 1 1 ``` | [Files](https://app.codecov.io/gh/alibaba/formily/pull/4006?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba) | Coverage Δ | | |---|---|---| | [packages/core/src/shared/externals.ts](https://app.codecov.io/gh/alibaba/formily/pull/4006?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-cGFja2FnZXMvY29yZS9zcmMvc2hhcmVkL2V4dGVybmFscy50cw==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.