在页面引入使用后报错Property or method "extraIcon1" is not defined on the instance but referenced during render.

9***@qq.com
- 发布:2020-08-11 16:33
- 更新:2020-08-13 13:00
- 阅读:737

7***@qq.com - www.evenfs.cn
这个插件已经不推荐使用,我找到了更好的解决办法,只不过已经发布的插件好像没法下架,所以我一直也没有下架。如果大家遇到的问题和我的一样,并且大家的发送按钮点击事件用的是@tap或者@click。那么咱们遇到的问题就是一样的。这时候你把事件替换成@touchend.prevent 事件,问题就解决了,再点击发送的时候文本框就不会失焦了。
<view class="send-button" @touchend.prevent="send" hover-class="send-button-hover">
希望能帮得到你。
9***@qq.com (作者)
谢谢您的回复,已经没问题了,多谢
2020-08-20 15:53