Skip to content

thousand-input

功能

CDN
千分位输入框,基础的千分位应用,如果应用于货币,请查看增强版 currency

功能示例

展示区
操作
参数:补零
结果:值
结果:格式化
@change

最小示例

vue
<template>
    <Wrapper>
        <VcThousandInput v-model="result" />
    </Wrapper>
</template>

<script lang="ts" setup>
import VcThousandInput from '../thousand-input.vue'

const result = ref('')
</script>

API