Do not have xxx handler in component
发布于 5 年前 作者 jing24 12115 次浏览 来自 问答
  1. 页面中有<input  bindinput />方法,

  2. 在使用json文件中引用组件

  3. 无法获取input组件上的数据,提示“Do not have chatInputGetValueEvent handler in component

  4. 去除json文件中的引用组件,则能正常获取input组件上的数据 (注:使用的最新基础库2.2.2)

1 回复

你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部