Skip to content

ios 短信验证码自动填充问题 #5

Description

@Timmy-CN

ios 短信验证码自动填充后,监听不到 value 值的变化
解决方案:

<input ref="input" class="input-code" @input="handleInput($event)" v-model="value"
           :id="`code-${uuid}`" :name="`code-${uuid}`" type="tel" :maxlength="length"
           autocorrect="off" autocomplete="off" autocapitalize="off">

@keyup 改成 @input 事件监听即可

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions