修复:因无法打开麦克风等错误导致的无法挂断电话BUG

This commit is contained in:
fan 2022-07-05 13:22:36 +08:00
parent 662b7a2332
commit 012c8e7137

View File

@ -750,6 +750,7 @@ export default {
} }
}, 1000); }, 1000);
}, function (error) { }, function (error) {
that.audioPlay = false;
switch (error.code || error.name) { switch (error.code || error.name) {
case 'PERMISSION_DENIED': case 'PERMISSION_DENIED':
case 'PermissionDeniedError': case 'PermissionDeniedError':