@@ -149,7 +149,7 @@ export default {
stopRecord() {
console.log("测试测试")
if(new Date().getTime() - this.recordObj.startTime < 2000){
- return console.log("稍等")
+ return this.$message.info("录音时间过短,请稍等...")
}
// 判断浏览器是否有开启录音权限
navigator.permissions && navigator.permissions.query({ name: 'microphone' }).then(permissionStatus => {