656dfabb29
startRecord 先同步设 isRecording=true 再异步 uni.authorize,避免 touchend 在 authorize success 回调前就触发 stopRecord 导致录音没 来得及开始就被停止。 移除冗余 doStartRecorder 函数,inline 到 authorize success 回调中。 stopRecord 不再检查 isRecording 守卫(可能已被 startRecord 设为 true), 直接 recorder.stop()。