Components

PinInput 验证码

分段验证码 / OTP 输入,自动跳格与退格回退。

OTP 与掩码

otp 模式 6 位,mask 隐藏输入。

OTP 值:—

API 参考

属性类型默认值说明
model-valuestring[][]v-model 分段字符数组。
lengthnumberotp ? 6 : 4段数。
otpbooleanfalseOTP 模式(自动跳格、粘贴填充)。
maskbooleanfalse掩码显示。
type'text' | 'number'number输入字符集。