Skip to content

vue-i18n / general / NumberFormat

类型别名: NumberFormat() ​

ts
type NumberFormat = () => object;

数字格式化组件

返回值 ​

object

$props ​

ts
$props: VNodeProps & NumberFormatProps & BaseFormatProps;

备注 ​

有关属性的详细信息,请参见以下项目:

CAUTION

不支持 IE,因为 IE 不支持 IE 中的 Intl.NumberFormat#formatToParts

如果你想使用它,需要使用 polyfill

Vue I18n 组件 ​