We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用搜索栏的时候,使用了search事件,在敲击回车或者使用手机软键盘的确认时候,触发的是页面刷新而非搜索事件
<nut-searchbar v-model="searchValue" @submit="search"> 搜索
预期的行为 :敲击回车或者手机软键盘中的确定键,回调我输入的值 实际行为: 敲击回车或者手机软键盘中国的确定键,当前页面刷新
H5中运行 <nut-searchbar v-model="searchValue" @submit="search"> 搜索
The text was updated successfully, but these errors were encountered:
@submit 改成 @search试试
Sorry, something went wrong.
已修复v3.1.17
JackieScorpio
No branches or pull requests
问题描述
在使用搜索栏的时候,使用了search事件,在敲击回车或者使用手机软键盘的确认时候,触发的是页面刷新而非搜索事件
最小可复现仓库
<nut-searchbar v-model="searchValue" @submit="search">
搜索
预期的行为和实际行为
预期的行为 :敲击回车或者手机软键盘中的确定键,回调我输入的值
实际行为: 敲击回车或者手机软键盘中国的确定键,当前页面刷新
复现步骤,具体代码
H5中运行
<nut-searchbar v-model="searchValue" @submit="search">
搜索
相关环境信息
The text was updated successfully, but these errors were encountered: