提交 8ff82435 编写于 作者: S sunyaozu

fix intl and i18n issue

Signed-off-by: Nsunyaozu <sunyaozu@huawei.com>
上级 2d693c9d
......@@ -698,7 +698,8 @@ static getLocationName(number: string, locale: string): string
**示例:**
```js
var location = i18n.PhoneNumberFormat.getLocationName('15812312345', 'zh-CN');
var phonenumberfmt = new i18n.PhoneNumberFormat("CN");
phonenumberfmt.getLocationName("15812312345", "zh-CN");
```
......
......@@ -540,7 +540,7 @@ constructor(locale: string | Array&lt;string&gt;, options?: PluralRulesOptions)
**示例:**
```js
var pluralRules= new Intl.PluraRules("zh-CN", {"localeMatcher": "lookup", "type": "cardinal"});
var pluralRules= new Intl.PluralRules("zh-CN", {"localeMatcher": "lookup", "type": "cardinal"});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册