1.修改:/Native/plugins/com.justep.cordova.plugin.iFlytek/www/Speech.js
startSpeaking()增加注册回调函数如done() 就可以了. 在wex5里注册自己的函数即可
startSpeaking: function(text, options, done) {
this.addEventListener('SpeakCompleted', done ); //这里修改
exec(null, null, 'Speech', 'startSpeaking', [text, options]);
},
评一波