加入访客拍照功能

This commit is contained in:
java110 2020-06-04 23:19:46 +08:00
parent 9accc66289
commit 050e110414

View File

@ -42,6 +42,12 @@
return ;
}
},
_addUserMedia: function () {
return navigator.getUserMedia = navigator.getUserMedia ||
navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia ||
navigator.msGetUserMedia || null;
},
_initAddVisitMedia: function () {
if (vc.component._addUserMedia()) {
vc.component.addVisitCase.videoPlaying = false;