设置为confirm-type="search" 不能自动获取焦点弹出软键盘
<input focus style="width: 100%; margin-right: 5px; background: rgba(238, 238, 238, 0); margin-left: 5px; "
type="text" confirm-type="search" @confirm="searchNow()"
placeholder-style="color: #999999;" placeholder="搜索内容"></input>
设置为confirm-type="done" 能自动获取焦点
<input focus style="width: 100%; margin-right: 5px; background: rgba(238, 238, 238, 0); margin-left: 5px; "
type="text" confirm-type="done" @confirm="searchNow()"
placeholder-style="color: #999999;" placeholder="搜索内容"></input>
1 个回复
2***@qq.com
同样的问题 H5端依旧提示这个