<span> click event is invalid

source code:

<span class="pan-login__fobtn" @click="forgetPassword">忘记密码</span>

pan-login__fobtn{
        color: #71c6e5;
        margin-left: 70px;
}

Add: cursor: pointer; to tell the kernel that this is a click event.

finally:

pan-login__fobtn{
        color: #71c6e5;
        cursor: pointer;
        margin-left: 70px;
}

おすすめ

転載: blog.csdn.net/qq_34484062/article/details/122498222