var utterThis = new window.SpeechSynthesisUtterance(str);
window.speechSynthesis.cancel();
window.speechSynthesis.speak(utterThis);
在调用speak之前先调用cancel
speechSynthesis没有效果
阅读 49
2022-05-04
var utterThis = new window.SpeechSynthesisUtterance(str);
window.speechSynthesis.cancel();
window.speechSynthesis.speak(utterThis);
在调用speak之前先调用cancel
相关推荐
精彩评论(0)