refine(i18n): 函数优化
This commit is contained in:
parent
63c465c1aa
commit
09477e60eb
@ -37,6 +37,7 @@ export const translate = (localeKey: string) => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* formatString('已阅读并同意{0}和{1}','用户协议','隐私政策') -> 已阅读并同意用户协议和隐私政策
|
* formatString('已阅读并同意{0}和{1}','用户协议','隐私政策') -> 已阅读并同意用户协议和隐私政策
|
||||||
|
* @deprecated 推荐使用下面的 formatI18n,使用key而不是索引,语义化更好
|
||||||
* @param template
|
* @param template
|
||||||
* @param values
|
* @param values
|
||||||
* @returns
|
* @returns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user