Closed zmj1196838666 closed 4 years ago
贴一下具体的报错信息吧。 @zmj1196838666
我在工程目录没有找到 _from 关键字,你也在你的工程目录下搜索下这个关键字,看是不是误操作修改了变量呢?
使用的是uni框架,就是兼容到多平台,我们项目要运行到h5和微信小程序,看这个文件应该是编译微信相关的,可能是这里出问题了
抱歉,小程序的话就尽量不推荐使用这个组件了,这个组件是使用 getuserMedia API,听写采用讯飞的接口。小程序端没有 window 对象,缺少各种上下文依赖,建议采用小程序的语音识别扩展。