Skip to content
New issue

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

使用npm安装的一些问题 #2

Open
trowa1234 opened this issue Apr 7, 2024 · 1 comment
Open

使用npm安装的一些问题 #2

trowa1234 opened this issue Apr 7, 2024 · 1 comment

Comments

@trowa1234
Copy link

1、使用 【import { XfVoiceDictation } from '@muguilin/xf-voice-dictation'】引入,new XfVoiceDictation() 会报错;
得改成:【import XfVoiceDictation from '@muguilin/xf-voice-dictation'】再 new XfVoiceDictation.XfVoiceDictation() 才不会报错

2、初始化后,第一次发送录制声音,会解析不成功,识别不到文字。从第二次开始可正常使用

3、每次调用stop()方法后,控制台会报1个错误
image

@MuGuiLin
Copy link
Owner

MuGuiLin commented Apr 8, 2024

@trowa1234: 您好!已在Npm库 @muguilin/xf-voice-dictation的版本1.0.1中修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants